Hello
I am trying to utilise the JMeterMavenPlugin to run JMeter integration
tests during a maven build.
I have created a test plan to test a couple of ajax calls. The second
call has day, month and year parameters that are populated with data
that is extracted from the results of the first call. The day parameter
needs to be one more than the value that has been extracted so I have
used the __intSum function.
I.e. the day parameter value is ${__intSum(${extractedday},1,newday)} as
shown in the following extract from the jmx file:
<elementProp name="" elementType="HTTPArgument">
<stringProp name="Argument.metadata">=</stringProp>
<stringProp
name="Argument.value">${__intSum(${extractedday},1,newday)}</stringProp>
<boolProp name="HTTPArgument.use_equals">true</boolProp>
<stringProp name="Argument.name">day</stringProp>
<boolProp
name="HTTPArgument.always_encode">false</boolProp>
</elementProp>
where ${extractedday} is the previously extracted day value.
This test works without errors when run through JMeter and the value for
the day parameter is equal to the previously extracted day value plus
one.
But when I try to run the same test plan using the JMeterMavenPlugin the
__intSum function call does not seem to work and the value for the day
parameter is set to "${${day},1,newday)}".
Is this a bug/missing feature within the JMeterMavenPlugin or am I using
the function call incorrectly?
Has anyone managed to use function calls in a test plan called through
the JMeterMavenPlugin?
Thanks in advance for any assistance.
Jonathan Jackson.