Created
June 19, 2024 06:53
-
-
Save cdxker/9e73e4085f33ac635d4d7ceb48cbea22 to your computer and use it in GitHub Desktop.
Trieve Search Spam test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wrk https://api.trieve.ai/api/chunk/search -t12 -d30s -c800 -s post_search.lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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