Skip to content

Instantly share code, notes, and snippets.

@cdxker
Created June 19, 2024 06:53
Show Gist options
  • Save cdxker/9e73e4085f33ac635d4d7ceb48cbea22 to your computer and use it in GitHub Desktop.
Save cdxker/9e73e4085f33ac635d4d7ceb48cbea22 to your computer and use it in GitHub Desktop.
Trieve Search Spam test
wrk https://api.trieve.ai/api/chunk/search -t12 -d30s -c800 -s post_search.lua
wrk.method = "POST"
wrk.body = '{"query": "The man", "search_type": "fulltext"}'
wrk.headers["Content-Type"] = "application/json"
wrk.headers["TR-Dataset"] = "**********-****-****-****-****************"
wrk.headers["Authorization"] = "tr-**************************"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment