Skip to content

torgge/bulk-operations

Repository files navigation

bulk-operations

Test bulk inserts

Test example

POST http://localhost:8080/orders
Content-Type: application/json

{
  "id": 2,
  "createdAt": "2023-01-30T20:53:12",
  "items": [
    {
      "skuCode": "10101",
      "quantity": 21,
      "brand": "BOT"
    }
  ]
}

OR

curl -X POST --location "http://localhost:8080/orders" \
    -H "Content-Type: application/json" \
    -d "{
          \"id\": 2,
          \"createdAt\": \"2023-01-30T20:53:12\",
          \"items\": [
            {
              \"skuCode\": \"10101\",
              \"quantity\": 21,
              \"brand\": \"BOT\"
            }
          ]
        }"

K6

docker run --rm -i grafana/k6 run - <script.js

About

Test bulk inserts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published