BlazeMeter MockServices - What is the format of request-response pair files?
search cancel

BlazeMeter MockServices - What is the format of request-response pair files?

book

Article ID: 191608

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

https://guide.blazemeter.com/hc/en-us/articles/360001797737-Adding-Transactions-Adding-Transactions describes how you can use RR pairs to upload transactions to the Asset Catalog of Mock Services. 


How should each of these files be structured?

Environment

Blazemeter SaaS

Resolution

The Request file should be built as follows:
the first line should have the operation and request URL. Subsequent lines should have header information (one line for each header), followed by an optional request body in JSON format

The Response file should be built as follows:
the first line should have the HTTP return code followed by the response body in JSON format

Additional Information

The attached files give an example of how the request and response files can look like.
Disregard the number before operation-10

Attachments

1590571961009__operation-10-rsp.txt get_app
1590571947864__operation-10-req.txt get_app