Skip to content

Commit

Permalink
Adjust request examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bigmontz committed Jan 30, 2024
1 parent e001d04 commit 0373ce3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/benchkit-backend/resources/create.requests.http
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Content-Type: application/json

{
"database": "neo4j",
"mode": "parallel",
"mode": "parallelSessions",
"queries": [{
"text": "RETURN 1"
},
Expand Down
44 changes: 22 additions & 22 deletions packages/benchkit-backend/resources/execute.requests.http
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PUT http://localhost:8080/workload/
Content-Type: application/json

{
"mode": "sequence",
"mode": "parallelSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -57,7 +57,7 @@ Content-Type: application/json

{
"database": "neo4j",
"mode": "sequence",
"mode": "sequentialSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -86,8 +86,8 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "READ",
"mode": "sequence",
"routing": "read",
"mode": "sequentialSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -116,8 +116,8 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"mode": "sequence",
"routing": "write",
"mode": "sequentialQueries",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -146,9 +146,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "executeQuery",
"mode": "sequence",
"mode": "sequentialSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -177,9 +177,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "executeQuery",
"mode": "parallel",
"mode": "parallelSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -208,9 +208,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "sessionRun",
"mode": "sequence",
"mode": "sequentialQueries",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -239,9 +239,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "sessionRun",
"mode": "parallel",
"mode": "parallelSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -270,9 +270,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "executeWrite",
"mode": "sequence",
"mode": "sequentialSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -301,9 +301,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "executeWrite",
"mode": "parallel",
"mode": "parallelSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -332,9 +332,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "executeRead",
"mode": "sequence",
"mode": "sequentialQueries",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down Expand Up @@ -363,9 +363,9 @@ Content-Type: application/json

{
"database": "neo4j",
"routing": "WRITE",
"routing": "write",
"method": "executeRead",
"mode": "parallel",
"mode": "parallelSessions",
"queries": [{
"text": "RETURN $a",
"parameters": {
Expand Down

0 comments on commit 0373ce3

Please sign in to comment.