Search code examples
jmeterrfc3161

Jmeter generate HTTP TimeStampRequest RFC3161


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 ?


Solution

  • 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: