Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting the 'Include Controller' in jmx files #15

Open
erichelgeson opened this issue Sep 22, 2013 · 1 comment
Open

Supporting the 'Include Controller' in jmx files #15

erichelgeson opened this issue Sep 22, 2013 · 1 comment

Comments

@erichelgeson
Copy link
Contributor

I have a meta jmx file that uses the Include Controller that includes all scripts for individual projects. This a useful layout for when you have many projects going through a single gateway. I use the individual jmx files for testing individual APIs, then include them in the meta jmx file for the biblical, full load tests.

jmeter-ec2 doesn't recognize the Include Controller for things like thread management/etc, and thats probably ok as it may add a lot of complexity. Also since it copies the jmx file from the $project/jmx/meta.jmx to /tmp/execute.jmx on the remote host, the include controller gets confused as the layout locally is different than the layout remotely. (../data/ vs data/)

Work around is to copy the included jmx files into the data/ dir and as that layout matches the layout on the remote server. I have a simple bash script to copy the jmx files and the csv files into the data dir.

Eg:

project/
 - meta.jmx
 data/
  - foo.jmx
  - bar.jmx
  - foo.csv
  - bar.csv
 results/
 jmx/
  - meta.jmx # Same as above

Not really a feature request but more a work around if anyone has the same issue and to show how i worked around the issue.

@barryperez
Copy link

Thanks Eric, this is helpful. I'm just starting to look at modifying this script for my current project and this was one of the first questions which came to mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants