You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JMeter Forum
Hi there,
Is there any code I can use in JSR223 to create a transaction name ?
Thanks,
Avinash
DT
unread,
Apr 24, 2024, 10:33:40 AMApr 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JMeter Forum
You can rename a Sampler using i.e. JSR223 Post-Processor via prev.setSampleLabel() function
Demo:
In the above example prev stands for previous SampleResult, see the JavaDoc for all possible functions with descriptions and Top 8 JMeter Java Classes You Should Be Using with Groovy article for more information on this and other JMeter API shorthands available for the JSR223 Test Elements