Collections:
Parameter Types of REST API in SoapUI
What types of REST API parameters are supported in SoapUI?
✍: FYIcenter.com
SoapUI REST projects support the following types of REST API parameters:
1. Query Parameter - Query parameters are parameters encoded in the query string of the final requesting URL. For example, "http://api.example.com/orders/1001?format=xml" contains one query parameter: format=xml.
2. Template Parameter - Template parameters are parameters enbedded in the resource identification part of the final requesting URL. For example, "http://api.example.com//stock/{symbol}/quote" is REST API URL template that has one template parameter: symbol.
3. Header Parameter - Header parameters are parameters included as headers in the final HTTP request. For example, the following HTTP request contains one header parameter: X-Api-Key: DEMO_KEY.
GET https://api.example.com/news HTTP/1.1 X-Api-Key: DEMO_KEY ...
5. Matrix Parameter - Matrix parameters are parameters included in the final requesting URL after the resource path and before the query string. For example, "http://api.example.com/orders/1001;mode=test?format=xml" contains one matrix parameter: mode=test.
⇒ REST API Resource with Template Parameters
⇐ Add New Resource to REST API Service in SoapUI
2018-03-13, 3181🔥, 0💬
Popular Posts:
Where to find test data generators? FYIcenter.com has prepared a number of test data generators for ...
How to generate IP Addresses? To help you to obtain some IP addresses for testing purpose, FYIcenter...
How to Open and Close Internet Explorer with UFT script? One way to open and close Internet Explorer...
What are JMeter command line options? You can get see JMeter command line options by running this co...
How to valid IPv6 addresses? In order to help your programming or testing tasks, FYIcenter.com has d...