JMeter - Run a python script before calling each HTTP request sampler

前端 未结 3 468
青春惊慌失措
青春惊慌失措 2021-02-10 15:56

I am new to Jmeter. My HTTP request sampler call looks like this

Path= /image/**image_id**/list/
Header =  \"Key\" : \"Key_Value\"

Key value is

3条回答
  •  既然无缘
    2021-02-10 16:36

    A possible solution posted by Eugene Kazakov here:

    JSR223 sampler has good possibility to write and execute some code, just put jython.jar into /lib directory, choose in "Language" pop-up menu jython and write your code in this sampler.

    Sadly there is a bug in Jython, but there are some suggestion on the page.

    More here.

提交回复
热议问题