REST API URLs List Import¶
The quickest way to create a Virtual User that load tests a REST API is by feeding OctoPerf with your HTTP requests.
Tip
You can Copy/Paste a list of URLs (one URL per line) into the URL field to import multiple URLs at once.
Create Virtual User: REST API URLs¶
For example copy/pasting the following content in the first URL will in fact directly add three requests:
http://rest.api.com/login
http://rest.api.com/items
http://rest.api.com/item/6
You need to enter:
- valid URLs and include the protocol (I.e. https://api.octoperf.com),
- request types (GET, POST, etc.)
The other settings of HTTP requests (like headers, query parameters, POST bodies, etc.) are set later, while editing the generated Virtual User: