How to increase JMeter certificate validity period from 7 days to 1 year
- Exit and shut down JMeter completely
- Remove any existing certificate files "ApacheJMeterTemporaryRootCA.crt" and "proxyserver.jks" in /bin folder
- Open jmeter.properties in /bin folder with text editor
- Uncomment "proxy.cert.validity=7" and replace 7 with 365, for example proxy.cert.validity=365
- Restart JMeter.
- Click Start to recording to create the new certificate.
- The certificate validity period will now be 1 year.
Exception registering com.blazemeter.jmeter.correlation.core.templates.repository.RepositoryManager
Exception registering com.blazemeter.jmeter.correlation.core.templates.repository.RepositoryManager with implementation:com.blazemeter.jmeter.repository.plugin.system.SystemManager
java.lang.NullPointerException: null
2024-01-11 11:44:18,480 INFO o.a.j.p.h.p.Daemon: HTTP(S) Test Script Recorder stopped
2024-01-11 11:44:18,480 WARN c.b.j.c.CorrelationProxyControl: No samples were recorded. Skipping correlation suggestions generation.
Response code:Non HTTP response code: java.net.UnknownHostException
Response message:Non HTTP response message: webdir.online.lync.com
When you record Dynamics 365 finance and operations scenarios, a sample from https://webdir.online.lync.com/autodiscover/autodiscoverservice.svc/root will be captured. This sample requests CNAME to the host, but the host does not respond, so the sample is useless. You can safely disable the sample from the script (right-click the sample and select disable) and it will not affect the execution.
You are logged in to the system too many times, ErrorCode=1287
{"Message":"You are logged in to the system too many times.","ErrorCode":1287,"DiagnosticMesssage":null}
During multi-user testing, if you simulate more than 60 (the default limit) concurrent users with a single credential, you may encounter error code 1287 in the response body. This error indicates that too many web sessions were created from the same user account. To address this issue, it is recommended to use different credentials when simulating concurrent users testing.
Running the PowerShell file "CorrelationScript.ps1" produces no output
If you encounter no result output after executing CorrelationScript.ps1 during post-recording, it indicates that there are no dynamic responses in the test plan. This is abnormal as there should be values that can be mapped and matched. Several possible reasons for this include:
- The test script only recorded the login process, resulting in no dynamic responses from finance and operations apps.
- The recording file may not have been captured completely. Ensure that all checkboxes in the "Configure" button have been selected before starting the recording.
- The test script and recording file were not correctly chosen, resulting in them not matching up.
View tree result file already exists warning
The file xxx already exists, what do you want to do?
When running the test script via the GUI, a popup alert warning of "file already exists" appears for the specified View tree file in the listeners. However, you can modify the jmeter.properties file to prevent the popup from appearing each time you run the script. Navigate to \Bin\jmeter.properties,
locate the #resultcollector.action_if_file_exists attribute under the Miscellaneous configuration section, and update the value from ASK to either APPEND or DELETE. Uncomment the line, then restart the JMeter GUI to take effective.
ERROR o.a.j.p.h.s.HTTPJavaImpl: readResponse: java.io.EOFException
2024-02-27 17:24:23,989 ERROR o.a.j.p.h.s.HTTPJavaImpl: readResponse: java.io.EOFException
2024-02-27 17:24:23,989 INFO o.a.j.p.h.s.HTTPJavaImpl: Error Response Code: 302, Server sent no Errorpage
At times, you may encounter the error "readResponse: java.io.EOFException" in JMeter while validating the script. This occurs when JMeter detects an empty response body. Referring to next line following the Error, you'll notice that the Error Response Code is 302. This code indicates a redirect status response, suggesting that the requested resource has been temporarily moved to the URL provided by the Location header.
It's important to note that this behavior is intentional, as the application is designed to perform URL redirection. While this error may not directly affect the test results, it's advisable to validate it during the verification process.
Why does the recorded script function with the user who recorded it but not with another user's credentials?
The common reason for this issue is that you might have used the system admin security role while recording the steps. It's advisable to use the exact security role in the scenario matching the testing user's credentials during recording in JMeter. This approach helps avoid recording unnecessary requests, ensuring the script functions correctly with normal user accounts.
Can a JMeter testing script be generated from Tier-1?
Blog series included:
- Part 1 – Dynamics 365 finance and operations apps performance testing with JMeter - Introduction
- Part 2 – Dynamics 365 finance and operations apps performance testing with JMeter - Execution
- Part 3 – Dynamics 365 finance and operations apps performance testing with JMeter - Result Analysis
- Part 4 – Dynamics 365 finance and operations apps performance testing with JMeter - Tips and Troubleshooting
- Part 5 – Dynamics 365 finance and operations apps performance testing with JMeter - MFA
*This post is locked for comments