Performance Testing and Disk Space

apple.news/ArS8728AyQumkrydDms3h6Q

The latest windows update takes up so much additional space that the OS will now reserve an additional 7GB of space for future updates. With most enterprise organizations hyper focused on reigning in costs there will be additional pressure to operate near the red line.

Something as simple as monitoring free disk space become more complex when variables like windows updates could be installed in the middle of the testing cycle.

Automated reporting and analysis becomes even more important with the rate of change increasing daily. Organizations will continue to push for faster delivery of performs test results. Testing teams, including performance testing teams need to identify ways to highlight the low-hanging fruit quickly and easily.

Performance Testing & Video Games!

Reference: apple.news/A4ppLF7lDSTqvfRn8dXl0QA

I love it how performance testing now has new meaning with the massive online games that have thousands of users interacting globally. The sheer complexity and the amazing visuals that are possible today creates even greater challenges to create solutions that scale. As A.I. and VR continue to take a greater role in gaming it will be interesting to see what creative solutions are ideated to ensure quality as the content continues to push boundaries.

Top 6 Most Wanted Performance Center Features

Here’s my most wanted features that Performace Center doesn’t currently have:

1) Easy upgradeability. PC servers, ALM, PC Hosts, Sitescope, all have to be upgraded individually for each patch making the upgrade process very expensive and time consuming. Cloud offerings look more and more attractive due to the pain of this upgrade procedure.

2) Better configurablitiy for Monitoring. Currently users can’t configure the user account for Windows based monitoring if they are using Monitor Profiles.

3) Better Error Handling. When a host fails, the tools needs to be more intelligent in replacing systems with issues. When there version discrepancies, the messaging should be clear and summarized.

4)CA APM Integration.

5)Better Linux Support for Monitoring. I shouldn’t have to use SiteScope due to deficiencies in PC to monitor hosts.

6)Smarter Analysis. More AI please for identification of common performance issues and bottlenecks.

JMeter and PC Licensing

Starting in version 12.55, Performance Center allows you to use Jmeter scripts. To me, this is shocking shift in MicroFocus’s support for open source technologies. While support for Jmeter within Performance Center is in its infancy the impact is significant. Prior to version 12.55, if an organization wants to run large-scale performance tests 10k+ virtual users in performance center they would have 4 options:

  • Purchasing permanent licenses <- Very Expensive and not cost effective for infrequent testing. Long term commitment required.
  • Purchase term licenses <- Less Expensive, but reasonable if you need many tests for a few months.
  • Purchase VUDs <- Very Flexible, expensive.
  • Leverage StormRunner Cloud <- Leveraging cloud is not always an option for internally hosted solutions.

With JMeter support in 12.55, and the increasing cost of licensing what motivation do organizations have in spending thousands in licenses? Granted, Jmeter doesn’t support everything VUDs do, and the scripting in two technologies does present challenges: configuration, installation, and training.

To me, this an interesting approach for MF. How much revenue do they generate from VUD purchases and term licensing? What is the thought process behind this change, what is the long-term goal behind this change of heart, and will it impact existing support costs or will a new ‘JMETER’ protocol bundle created.

As a manger I’m excited about this change and the possibilities it creates. I’m also cautiously optimistic to this change and this new attitude of open source support within a largely pay to play platform. I just hope this new feature isn’t met with a new pricing model.

Performance Center 12.56 Bugs

Below are a list of bugs I’ve discovered in PC 12.56. I’ll update this list over the next 30 days as more are identified.

1) Username/Password in Monitor Profiles are not used (Even when credentials exist). In 12.53 you could leave the username and password blank in a Monitor Profile and PC would use the Service account credentials by default to pull counters from a system. In 12.56 the primary service overrides anything you’ve entered and uses the primary service account. This will impact all monitor profiles that use a custom credentials (anything other than the default service account).

2) This isn’t a bug but is noteworthy. If you try to view Analysis files created via 12.56 tests, errors will be thrown if you use Analysis 12.53 loaded. The issue only shows for the Analyzed Results and not the Raw Results.

3) Just like 12.53, My Performance Center requires a large monitor/screen space. Pretty common these days but it can be frustrating when you attempt to load it from VM your RDP’d into and modifying the screen resolution isn’t possible.

4) Pools in 12.56 are also troublesome. The ‘General’ pool that is created by default does not seem to effectively ‘stick’ with some hosts. I recommend creating a new pool if you intend on sharing access across many projects.

ALM – Transaction iterations not displaying during Test Execution

After upgrading to PC 12.53, I noticed one project that was not showing transactions passing or failing in the Run Screen window. All transactions showed 0 count.

To fix the issue the Controller Settings need to be modified. (steps are using ALM Explorer 12.53)

  1. Click the Gear   Gear
  2. Select Performance Center Controller Options
  3. Update Sample Information at Frequency to 30 seconds
  4. Update Data Sampling Rate to 30 seconds
  5. Click OK

Controller Options

ALM Explorer – URL List

If your like me, and have upgraded Performance Center multiple times, you end up with a very messy list of URLs in ALM Explorer. To clean-up the list of URLs in the Address Bar you need to modify Windows Registry.

Windows Registry: HKEY_CURRENT_USER\Software\Mercury Interactive\Quality Center\

Click each of the old keys and delete them as needed.

ALMURL

 

ALM – Test Runs stuck in ‘Pending Creating Analysis Data’

While using Performance Center 12.53 I encountered an issue where my Test Runs were becoming stuck in ‘Pending Creating Analysis’ whenever the scenario was configured to Collate (vs Collate and Analyze). The Data Processor Queue in PC was stuck. The issue only became worse as numerous runs began to become stuck in this status, effectively creating a log-jam.

To remedy the issue the following queries were executed in Site Admin – PC LAB. This effectively removed the ‘TASKS’ so that the bad runs could be skipped. Be sure to back-up the ALM DBs / ALM Repository before running any update statements in Site Admin. 

update DP_TASKS
set DP_PROGRESS_STATUS=’Finished’, DP_PROGRESS_SUBSTATUS=’Terminating’
Where DP_Progress_Status = ‘Pending’
and DP_Operation_Type = ‘Analyzing’
and QC_Project = ‘<ProjectNameHere>’
and QC_RUN_ID = ‘<QCRunIDHere>’

The statement above was used and fixed the issue. I recommend being very specific and testing it with 1 Test Run before running a mass-update on the DP_TASK table.

Fun with UAC – Change Machine Identity Failed Error.

Change Machine Identity failed: Reason: RunProcessWithLogon: Failed to create process [D:\PCHost\al_agent\bin\alagentservice.exe] with user <My PC User> windows error code [183].

My team recently was encountering the error above on multiple VMs after a server patching was completed. The maintenance re-enabled UAC which disabled communication from the PC Hosts and ALM which caused the systems to be Non-Operational.

After a little digging, UAC was determined to be the culprit. For Server 2012, update the registry below to disable UAC.

  1. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  2. In the right pane, double-click EnableLUA
  3. Change Value Data to 0
  4. Reboot the Host, Attempt to Re-Configure in the LAB