JMeter
Last updated
Last updated
First, you go into a test case and click on Automation. Here, you can add a JMeter script.
The version number of the JMeter agent must match the version number of JMeter. Take a look at system requirements to look for supported versions.
A test script template is now created and can be edited with the external editor JMeter. You have the option to record a test case with JMeter.
To run an automated test, the test case must be executed in the same way as the manual tests. Open the test case and click on the Run button. If this is an automated test and if agents are available in the network, then a selection of possible test systems will be displayed.
A new window provides the load test results in real-time in the form of diagrams. The diagrams are not available immediately but after 30 seconds when the first measurement results of the agents have been evaluated, the tab will appear.
Variables from the aqua test case are also automatically transferred to the JMeter script. This means that you can define variables such as "user name", "password" or "URL" in the variable manager and then execute the JMeter test case with the desired values in the variables when selecting the value sets. In the JMeter script, the variables can then be used like normal variables, i.e. via ${variable name}. The variable name must exactly match the variable name in aqua (e.g. username or password or URL).
To configure the agent open agent.properties.
Here, you have to specify the Agent Code and the aquaService URL as follows:
agentCode=pvq6wrb70huknv47ji39a
ggregateSeconds=20
aquaServiceUrl=http://youraquaserver/aquaAPI/aquaagentwebservice.asmx
keepAliveSendingFrequency=30
resultsDirectory=results
tempDirectory=temp
sendSUTErrors=true
proxyHost=
proxyPort=
proxyUsername=
proxyPassword=
If you use plugins in your JMeter scripts, these plugins must also be stored in the lib/ext folder in the agent folder.