Reputation: 1564
Is it possible for a Java request to have a summary report to it. I tried attaching TPS listener, results tree, results table but could not see the report populated after running in jmeter. It is not explicitly mentioned jmeter docs, but i assume, It should be supported.But i am not able to see it even after successful run of the test as seen from logs (runTest() method gets called successfully)
Upvotes: 0
Views: 168
Reputation: 168002
It is
The runTest()
function is supposed to return a SampleResult and it's your job to call the necessary functions like:
See JavaTest and SleepTest example implementations for reference.
You may also find JSR223 Sampler with Groovy easier to use (Java syntax should work in the majority of cases)
Upvotes: 1