dynamic-cli icon indicating copy to clipboard operation
dynamic-cli copied to clipboard

Add a feature to check the concurrency of an API

Open GouravSardana opened this issue 4 years ago • 3 comments

We have a feature where you can make a post request from the terminal using dynamic --POST. We need to add a new thing to test the API concurrency.

Suppose, you are testing the performance of an API i.e How many loads it can take at one time. Make an args for this and it will take 1 more parameter i.e value Example - Dynamic --POST --perftest [args name can be anything other than perftest but should be meaningful] ->API URL ->Payload [If required] [Optional] -> How much thread you want to create - [User input] #Let say I gave 100

It'll make 100 requests at the same time to that API with the payload [if required] and return the output in the table format which displays how much time each request takes and download as a pdf or text file. If the request fails or takes time we can return the timeout

GouravSardana avatar Sep 30 '21 11:09 GouravSardana

hey can i take up this task

Nit89 avatar May 04 '23 18:05 Nit89

Sure @Nit89

GouravSardana avatar May 04 '23 19:05 GouravSardana

Can I be assigned this issue as a GSSOC '23 participant?

nishtha981 avatar May 20 '23 05:05 nishtha981