What I need to do - create Jenkins job which runs Jmeter test in Blazemeter with some parameters such as a test URL. The parameters should be set in Jenkins before job starts.
What I have done:
- Added Blazemter plugin for Jenkins.
- Created an appropriate Jenkins job which will use the Blazemeter plugin for building.
- Created Jmeter scenario and saved it in the .jmx format. I added a variable
${baseURL}
with null value in the Jmeter's test plan which is used in the HTTP request as aServer Name or IP
value. - Created a Jmeter test in Blazemeter and uploaded the jmx file. Saved the test.
- Tried to run a job with the following parameters described in the session properties field in the Blazemeter plugin
baseURL=${baseURL}
. I setgoogle.com
as a property value in Jenkins.
Results - Blazemeter test has up and ran, it tested http://
however it had to http://google.com
.
So the question is - What I did wrong or may be the Blazemeter plugin is not what i need or may be general approach is wrong.