0

I would like to use Jmeter to generate HTTP TimeStampRequests "application/timestamp-query" as presented in the standard RFC3161. Currently I'm using Java program to do it but I would like to improve it by using Jmeter functionalities.

Is it possible to do it ?

tiamat
  • 879
  • 2
  • 12
  • 35

1 Answers1

1

If you want to use JMeter's HTTP Request samplers you can:

  1. Compile your code into .jar file
  2. Put the .jar into JMeter Classpath
  3. Use the function from the .jar file to generate the request body from the JSR223 PreProcessor
  4. Set the request body to the value generated in the step 3

More information:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • it works great ! btw how can I get back a status failed or success to a specific JSR223 test ? depending on JAR Method response I would like to highlight result tests. – tiamat Feb 07 '22 at 15:02