Parameter setting for Jemeter Post method

1. create CSV fileoop

note: the first line is parameter name3d

2. Add Controllerorm

Edit >Add >Logic Controller >Loop Controller, and set number as test data lineserver

3. Add Http Request, and input http request  information, including protocal, server, path, method...blog

Edit >Add >Sampler >Http Requestinput

4. Add Body Data, and put parameter name like "${createdBy}"it

5. CSV Data Set Configio

Edit >Add >Config Element >CSV Data Set Configform

 

6. Run to checktest

Method Get was only executed once, method Mock Create was executed 3 times, because loop controller was set 3. And different parameter was adapted.

相關文章
相關標籤/搜索