Uses of Class
com.postman.collection.Request
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of Request in com.postman.collection
Modifier and TypeMethodDescriptionCollection.addRequest
(RequestBody reqElement, String name) Convenience method to add a newrequest
item as a top level child item of this collectionCollection.addRequest
(RequestBody reqElement, String name, int position) Add a new request to this collection at the specified position in the array ofrequest
elementsCollection.addRequest
(RequestBody reqElement, String name, Response response) Create and add a newrequest
as a top level child item of this collection.Collection.addRequest
(RequestBody newRequest, String name, ArrayList<Response> responses) Convenience method to add a request with a pre-constructed ArrayList<Response
> of response items.Collection.addRequest
(String url) Create and add a newrequest
as a top level child item of this collection.Collection.getRequest
(String name) Return a request from this Collectionsitem
property, or null if it doesn't exist.ItemGroup.getRequest
(String key)