The JMeter based Performance Test Suite is build on the basic ideas of Apache JMeter but with reworks in many areas to make it compatible with XLT and XTC.
Bottom line, you record, edit, and maintain your tests in Jmeter, but you will use XLT to run and evaluate your tests.
-
Java Version 17 or higher
-
Download and Run Apache JMeter
-
Configure proxy access in the web browser
-
Enable the proxy
- Clone this test suite
- Build a test plan
- Output file of the recording should be
.jmx
- Expand the
Test Plan
to see its content- Add the needed controller and sampler
- Run your test plan
- See the results under
View Results Tree
- Save your
.jmx
file to this directory<testsuite>/config/data/tests
- Open this test suite in your beloved Java IDE
- Go to
config/data/tests
to see your previous saved file - Go to
src/main/java/com/xceptance/loadtest/jmeter/tests
and add your test
public class YourTestCaseName extends AbstractComponentTest
{
public YourTestCaseName()
{
jmxSource ="/tests/yourTestFile.jmx";
}
}
- Add your test case(s) to the
config/testcase-mapping.properties
- Add your test case(s) to the list of active test case(s)
config/test.properties
- Save and commit your changes
- Run your test and see the results in the provided result browser
- Go to the Xceptance Test Center (XTC)
- Setup a new load test
- Start your loadtest
JMeter dependencies are upgrade.properties, saveservice.properties and jmeter.properties are taken from default JMeter setup and are needed for the engine. In case there are adjusted values simply, add the files under the created site. At the moment default is used for reference.
Best practice is to always give meaningful names to thread groups, transactions and requests. These names are used for the report and it is recommended to identify the correct requests in the report. If there are no names given, the engine will create a default name for identification. For reference in XLT each .jmx file is considered a single test case, therefore create the test cases in different .jmx files. All Transaction Controller in the current file are later listed as Actions in the report and all request under the given Transaction Controller, if the Generate parent sample option is selected. If the option is disabled all request will be listed individual.
- grouping different samplers below thread group
- XLT thread management instead of using JMeter
- can fire simple requests
- implemented, as it is in JMeter
- assertion checker from JMeter are implemented and fire events in XLT, additonal we support the continue (only events) and stop function from JMeter (ResultBrowser and errors)
- implemented but not all are working at the moment
- works with internal counter as designed
- works with internal counter
- works but the path need adjustment in JMeterGUI
- File Upload
- XPath2 Assertions