Article Trunk

How to Reuse Your JMeter Code With JAR Files and Save Time

07.13.2018 · Posted in Computer Articles, Performance Articles

When developing tests, it is often necessary to write code in the tests themselves. This code might be long, it might be repeated in several tests, or might be written only for a specific test. Also, the code written in the tests might have to change or be supplemented if the requirements change.

This can take a long time and is prone to errors. Suppose that we have 20 Apache JMeter™ tests in which the same code is written and at some point in time we decide to make changes to this code for all 20 tests. Changes must be made in each JMeter test. To get rid of such routine work, we can call codes to tests from a JAR file (a JAR file is Java Archive).

Leave a Reply

You must be logged in to post a comment.

%d bloggers like this: