Skip to content

Commit 5c3cc85

Browse files
committed
Adjust request examples
1 parent e2d1b00 commit 5c3cc85

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

packages/benchkit-backend/resources/create.requests.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Content-Type: application/json
1818

1919
{
2020
"database": "neo4j",
21-
"mode": "parallel",
21+
"mode": "parallelSessions",
2222
"queries": [{
2323
"text": "RETURN 1"
2424
},

packages/benchkit-backend/resources/execute.requests.http

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ PUT http://localhost:8080/workload/
2929
Content-Type: application/json
3030

3131
{
32-
"mode": "sequence",
32+
"mode": "parallelSessions",
3333
"queries": [{
3434
"text": "RETURN $a",
3535
"parameters": {
@@ -57,7 +57,7 @@ Content-Type: application/json
5757

5858
{
5959
"database": "neo4j",
60-
"mode": "sequence",
60+
"mode": "sequentialSessions",
6161
"queries": [{
6262
"text": "RETURN $a",
6363
"parameters": {
@@ -86,8 +86,8 @@ Content-Type: application/json
8686

8787
{
8888
"database": "neo4j",
89-
"routing": "READ",
90-
"mode": "sequence",
89+
"routing": "read",
90+
"mode": "sequentialSessions",
9191
"queries": [{
9292
"text": "RETURN $a",
9393
"parameters": {
@@ -116,8 +116,8 @@ Content-Type: application/json
116116

117117
{
118118
"database": "neo4j",
119-
"routing": "WRITE",
120-
"mode": "sequence",
119+
"routing": "write",
120+
"mode": "sequentialQueries",
121121
"queries": [{
122122
"text": "RETURN $a",
123123
"parameters": {
@@ -146,9 +146,9 @@ Content-Type: application/json
146146

147147
{
148148
"database": "neo4j",
149-
"routing": "WRITE",
149+
"routing": "write",
150150
"method": "executeQuery",
151-
"mode": "sequence",
151+
"mode": "sequentialSessions",
152152
"queries": [{
153153
"text": "RETURN $a",
154154
"parameters": {
@@ -177,9 +177,9 @@ Content-Type: application/json
177177

178178
{
179179
"database": "neo4j",
180-
"routing": "WRITE",
180+
"routing": "write",
181181
"method": "executeQuery",
182-
"mode": "parallel",
182+
"mode": "parallelSessions",
183183
"queries": [{
184184
"text": "RETURN $a",
185185
"parameters": {
@@ -208,9 +208,9 @@ Content-Type: application/json
208208

209209
{
210210
"database": "neo4j",
211-
"routing": "WRITE",
211+
"routing": "write",
212212
"method": "sessionRun",
213-
"mode": "sequence",
213+
"mode": "sequentialQueries",
214214
"queries": [{
215215
"text": "RETURN $a",
216216
"parameters": {
@@ -239,9 +239,9 @@ Content-Type: application/json
239239

240240
{
241241
"database": "neo4j",
242-
"routing": "WRITE",
242+
"routing": "write",
243243
"method": "sessionRun",
244-
"mode": "parallel",
244+
"mode": "parallelSessions",
245245
"queries": [{
246246
"text": "RETURN $a",
247247
"parameters": {
@@ -270,9 +270,9 @@ Content-Type: application/json
270270

271271
{
272272
"database": "neo4j",
273-
"routing": "WRITE",
273+
"routing": "write",
274274
"method": "executeWrite",
275-
"mode": "sequence",
275+
"mode": "sequentialSessions",
276276
"queries": [{
277277
"text": "RETURN $a",
278278
"parameters": {
@@ -301,9 +301,9 @@ Content-Type: application/json
301301

302302
{
303303
"database": "neo4j",
304-
"routing": "WRITE",
304+
"routing": "write",
305305
"method": "executeWrite",
306-
"mode": "parallel",
306+
"mode": "parallelSessions",
307307
"queries": [{
308308
"text": "RETURN $a",
309309
"parameters": {
@@ -332,9 +332,9 @@ Content-Type: application/json
332332

333333
{
334334
"database": "neo4j",
335-
"routing": "WRITE",
335+
"routing": "write",
336336
"method": "executeRead",
337-
"mode": "sequence",
337+
"mode": "sequentialQueries",
338338
"queries": [{
339339
"text": "RETURN $a",
340340
"parameters": {
@@ -363,9 +363,9 @@ Content-Type: application/json
363363

364364
{
365365
"database": "neo4j",
366-
"routing": "WRITE",
366+
"routing": "write",
367367
"method": "executeRead",
368-
"mode": "parallel",
368+
"mode": "parallelSessions",
369369
"queries": [{
370370
"text": "RETURN $a",
371371
"parameters": {

0 commit comments

Comments
 (0)