-
1. Re: Tips on creating a Jmeter sampler to work with Arquillian?
kpiwko Jan 23, 2013 9:01 AM (in response to cantide5ga)1 of 1 people found this helpfulHello,
from the approaches I've seen the best one was to put a man-in-the-middle proxy in between WebDriver and AS and let the proxy record the test for you. Not sure how/if ever that setup could be done with JMeter.
Do I read correctly that the test works fine when run from JUnit (IDE, Maven), but it does not work when it is run via JMeter?
-
2. Re: Tips on creating a Jmeter sampler to work with Arquillian?
cantide5ga Jan 23, 2013 10:40 AM (in response to kpiwko)Thanks for the reply Karel.
from the approaches I've seen the best one was to put a man-in-the-middle proxy in between WebDriver and AS and let the proxy record the test for you. Not sure how/if ever that setup could be done with JMeter.
Can you elaborate? I'm open to other load testing options beyond Jmeter.
Do I read correctly that the test works fine when run from JUnit (IDE, Maven), but it does not work when it is run via JMeter?
This is correct.
Some things have changed since the original post: I created a trial-run project seperate from the pre-existing project and the multitude of tests, but to mimic the POM. Integrating Jmeter with Arquillian using the standard Junit sampler was successful. For the time being, I have concluded that this is not an issue with Arquillian.
The issue now lies elsewhere in Jmeter not being able to access the host (in the original project) as suggested by the logs. The problem is no longer in scope of this forum and I have moved my discussion to the Jmeter mailing list. However, I would love to hear from others that have connected all of this together before.
Thanks again.