From 856ebbd9f6ff30f05183622406b6db47a69488dc Mon Sep 17 00:00:00 2001 From: mailtoach79 Date: Sat, 20 Oct 2018 20:50:34 +0100 Subject: [PATCH 1/2] Updated read me to use gremlin query --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index a3deac79c..15898c8ed 100644 --- a/README.md +++ b/README.md @@ -367,6 +367,28 @@ 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 extral file location using ${XML.FILE: gremlinquery.txt} #### 27: #### Generating load for performance testing aka stress testing From c4d6898923ccf66bfcfe5689c8dbe0df51eadd9b Mon Sep 17 00:00:00 2001 From: authorjapps Date: Tue, 12 Mar 2024 11:05:16 +0000 Subject: [PATCH 2/2] Update README.md(typo fixed) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15898c8ed..a38a9913b 100644 --- a/README.md +++ b/README.md @@ -368,6 +368,7 @@ 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": [ @@ -387,8 +388,9 @@ Using the gremlin query in Zero Code } ] } +``` -We can also pass the gremlin query from extral file location using ${XML.FILE: gremlinquery.txt} +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