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, ∼3731🔥, 0💬
Popular Posts:
How to generate ISBN numbers? To help you to obtain some ISBN numbers for testing purpose, FYIcenter...
How to validate email address format? In order to help your programming or testing tasks, FYIcenter....
What are JMeter command line options? You can get see JMeter command line options by running this co...
How to validate and decode MAC (Media Access Control) addresses? In order to help your programming o...
How to generate test credit card numbers? Test credit card numbers are frequently needed in testing ...