Previous Topic: Run a JMeter Test CaseNext Topic: Debugging Tips


Editing Test Files

When editing test files, we recommend that you save them outside of cs-sdk-home /build/. Save the files outside of cs-sdk-home /build/ even though you opened them under cs-sdk-home>/build/tests/ so that you do not accidentally lose your work after doing an ant clean.

When you have completed your edits and verified that everything is working, do the following:

  1. Click the jcs_global_vars Include controller near the start of the test and change the Filename field to @TESTS@/jcs_global_vars.jmx.
  2. Save the test to the path cs-sdk-home /connectors/<myconnector>/test/ (or a subdirectory of it).

Note: We recommend that you commit your changes to revision control and then update a different working directory with them and rerun ant jmeter in this other working directory after saving. This helps catch the case where your actual absolute working directory sneaks into a .jmx file, rather than the @TESTS@ reference to which is substituted to a real directory by ant jmeter.core.init.

Note: For more information, see cs-sdk-home/README.txt