Add script to test http api #18

Manually merged
dessalines merged 0 commits from nutomic/lemmy:api-benchmark into master 2020-02-01 04:08:44 +00:00
Owner
No description provided.
nutomic changed title from WIP: add script to test http api to Add script to test http api 2020-01-31 13:04:25 +00:00
Author
Owner

Okay this is working now. The test script only includes a few basic API calls that dont have any complicated parameters, but we could add more in the future.

Okay this is working now. The test script only includes a few basic API calls that dont have any complicated parameters, but we could add more in the future.
dessalines approved these changes 2020-01-31 20:28:32 +00:00
dessalines left a comment
Owner

Looks good, I'll test this soon.

Looks good, I'll test this soon.
@ -0,0 +2,4 @@
set -e
# By default, this script runs against `http://127.0.0.1:8536`, but you can pass a different Lemmy instance,
# eg `./api_benchmark.sh "https://example.com"`.
Owner

Nice, I like this.

Nice, I like this.
dessalines closed this pull request 2020-02-01 04:08:44 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LemmyNet/lemmy#18
No description provided.