首页 > 代码库 > loadrunner send json request

loadrunner send json request

1 web_custom_request("Update Todo", 2         "URL=http://localhost:3000/todos/3", 3         "Method=PUT", 4         "Resource=0", 5         "EncType=application/json", 6         "Mode=HTTP",7         "Body={\"id\":3, \"isFinished\":false,\"todoText\":\"Updated the name\"}",8         LAST);

 

loadrunner send json request