Collections:
REST API Resource with Template Parameters
How to add a REST API resource with template parameters in SoapUI?
✍: FYIcenter.com
You can follow this tutorial to add new resources with template parameters
to a REST API service in SoapUI.
1. Start SoapUI on your computer.
2. Click "File > Import" menu to open your SoapUI test project stored in "\fyicenter\REST-Project.xml". You see the REST project displayed in the project explorer panel on the left.
3. Right-mouse click on "https://api.iextrading.com" service and select "Add Resource" from the context menu. You see the "Add REST Resource" dialog box.
4. Enter the following URL and click "OK". You see a new resource object added.
https://api.iextrading.com/1.0/stock/{symbol}/quote
5. Double-click on the resource "quote". You see resource attributes and parameters, including "symbol".
6. Double-click on the request "Request 1". You see request properties and parameters, including "symbol".
The picture below shows you add new resources with template parameters
to a REST API service:
⇒ Run REST API Request with Template Parameter
⇐ Parameter Types of REST API in SoapUI
2023-06-12, 3869🔥, 2💬
Popular Posts:
Where to find tutorials on UFT (Unified Functional Testing) tool? I want to know how to use UFT. Her...
How to turn on Chrome WebDriver logging with Selenium Python API? If you want to turn on logging on ...
How to validate Mod 10 (Luhn Algorithm) checksum? In order to help your programming or testing tasks...
How to valid IP addresses? In order to help your programming or testing tasks, FYIcenter.com has des...
Where to find online test tools? FYIcenter.com has prepared a number of online test tools: Data Look...