![]() ![]() When the load test, it is best to use the command line to run, the small load test, you can use the GUI interface to run. I have not resolved this error, I only know, I will start recording, and I don't report more than a few times.ĥ.Jmeter Record, each request will have some parameters, where many parameters are taken from the previous request server returns, at this point you need to manually associate it.Ħ. Java.io.IOException: Invalid keystore format 09:04:33,394 ERROR o.a.j.u.SSLManager: Problem loading keystore: Invalid keystore format When recording, it is always reported as follows: In this test, the URL developed to me is an IP address. You can manually rename and add multiple transaction controllers to add associated requests to the same transaction controller, which is beneficial to distinguish the scene and easy to understand.ģ. Required requests are very messy, not easy to understand. After recording, it may be manually deleted due to a lot of requests in error operation.Ģ. Workaround: Modify the parameter value in the JMeter.properties file to _Format=csv Run the above command to report an error and solutionġ. Ires csv output format, check ' _format ' property Writing log file to: D:\software\apache-jmeter- 3.1 \bin\jmeter.logĮrror in NonGUIDriver : Report generation requ To find the data to be associated, the simplest method is to use " View the "Search" function in the results tree.ġ0.Verify the script before running the test plan (right click Thread Group -> Click Validate-> View View Results Tree Whether it is normal), Save the test plan (don't forget to save the test plan ).ĭ:\software\apache-jmeter- 3.1\bin>jmeter -n -t test.jmx -l testlogfile -e -o. Note: To do association, we can use the regular expression extractor, JSON Extractor Waiting The processor gets data from the request and injects it into another request. In JMeter, according to the actual situation, Configure thread properties, add CSV data file settings, add a set point, add a dynamic association, add a listener, and so on. The default password is Password, and you can record it after you are input.ĩ. Note: When you start recording, JMeter may pop up the input keystore password password prompt. Sign in - Modify Information (Initialization - Edit - Save) - Exit a series of scene operations, after completion, turn off the JMeter proxy server and end recording. Back to the browser interface, at the top Input in the address bar replaces your website address). Go back to JMeter -> Click "OK", the certificate pop-up disappearance -> Click "Options" -> Click "SSL Manager" -> Select the apachejmetertemporaryrootca.crt file in the JMeter / bin directory, click "Open". ![]() Note: Remember to modify the proxy settings after the test is completed, otherwise it will not be able to access the Internet.ħ.jmeter Sets the SSL. Next, search "proxy" -> click "Settings" -> Select "Manual Agent Configuration", HTTP Proxy Enter LocalHost, Port Enter 8888 (consistent with the JMeter Proxy Server Port), check "Use the same proxy server for all protocols ", Click" OK ", the proxy setting is complete. CRT file, click "Open" -> Trust "to identify the website", click "OK" -> Back to the Certificate Manager, you can see this certificate in the certificate authority In the list, click "OK", the certificate import is complete. Open Firefox Browser -> Tools -> Options -> Search "Certificate" -> View Certificate -> Click "Import" -> Select the ApachejmeterTemPoraryRootca under the JMeter / bin directory. The browser imports the certificate and sets the agent. Note: This certificate is valid for 7 days.Ħ. The certificate needs to be installed by the browser so that it accepts the Host Certificate generated by Jmeter. After the certificate generation is completed, the GUI will display a pop-up dialog that contains the certificate details of the root CA. Certificate generation may take a period of time, and the GUI will not respond. And first The JMeter_Home / bin folder is named Apachejmetertemporaryrootca.crt file. This will start the JMeter proxy server for intercepting the browser request. In HTTP (S) Test Script Recorder, click the "Start" button. The advantage of this is that when you start recording requests, all requests are included in the request value XIAoming and 123456, they will be replaced by $, which is convenient for recording.ĥ. The parameterized variables may be required after the user defined variables, such as username = xiaoming, password = 123456. This can filter out a lot of unnecessary requests.Ĥ. Enter, protocol: https, server name, or IP:, port number: 443, Path: Leave a blank. Select on the menu bar Template, select Record Templates in the list to generate a complete test plan.ģ. Enter the JMeter_Home / bin directory and click JMeter.bat to boot JMeter.Ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |