diff --git a/README.md b/README.md index a3deac79c..a38a9913b 100644 --- a/README.md +++ b/README.md @@ -367,6 +367,30 @@ Because you are asserting with an expected status as 500, but the end point actu ] } ``` +Using the gremlin query in Zero Code +``` +{ + "scenarioName": "Gremlin HelloWorld query", + "steps": [ + { + + "name": "Using_Gremliquery" + "url": "/tinkerpop/gremlin", + "operation": "POST", + "request": { + "body": { + "g.V().has('name', 'helloworld').values('name')" + } + }, + "assertions": { + "status": 201 + } + } + ] +} +``` + +We can also pass the gremlin query from external file location using ${XML.FILE: gremlinquery.txt} #### 27: #### Generating load for performance testing aka stress testing