Tasks
Get Stub
Task to retrieve a particular Stub's Data
Basic usage
Task to retrieve the very first Stub's data .
Parameters
required string
fieldname Name of the field to save the result data to : my_first_stub
required string
query MongoDB formatted query string used to find a particular Stub
optional string
projection MongoDB formatted projection string used to return the Stub's data
Default: {'stubref':1,'subject':1}
Result
Properties
fieldname
Name of the field created : my_first_stub
stub
Stub data object retrieved for the Stub, the projection parameter determines the results displayed here.