Retrieving Controller comments for output

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Retrieving Controller comments for output

Sean Mooney
Hi Community,

I need to document our JMeter test plans.

The idea occurred to use the comment field of the controllers in a test plan.

But I would like the results and these comments to be found together in the same result.

Can I retrieve that comment field in my test plan CSV output it as an extra column?

Thanks

Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Retrieving Controller comments for output

Sean Mooney
Hi,

Wanted to let you know that in the teardown thread, I wrote up a little java in a JRS223 controller to retrieve the info I want via reflection from the ctx.getEngine().test attribute.

With a bit of code online I found I could obtain the collection of all TestElement classes, and output their comments into a new XML document.

Sean

-----Original Message-----
From: Sean Mooney <[hidden email]>
Sent: Thursday, April 23, 2020 3:41 PM
To: JMeter Users List <[hidden email]>
Subject: Retrieving Controller comments for output

Hi Community,

I need to document our JMeter test plans.

The idea occurred to use the comment field of the controllers in a test plan.

But I would like the results and these comments to be found together in the same result.

Can I retrieve that comment field in my test plan CSV output it as an extra column?

Thanks

Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]