Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

168
Views
Load Test Post Request

My json data in postman body look down. I send a message request, it return status 200 as a result.

{
    "device": {
        "ip": "1.1.1.1",
        "port": 8093,
        "username": "",
        "password": ""
    },
    "subscriber": {
        "id": "abcdefgh"
    }
}

I want to loadtest in post request but "too many arguments error" ?(return status 404)

loadtest -P '{"device": {"ip": ""1.1.1.1"port": 8093,"username": "","password": ""},"subscriber": {"id": "abcdefgh"}}'  -n 1000 -c 100 -T

Too many arguments: [
'{"ip":',
'"1.1.1.1","port":',
'8093,"username":',
'"","password":',
'""},"subscriber":',
'{"id":',
`"abcdefgh"}}'`,

'" ]

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Just a general tip: start with a low number of requests, concurrency and requests per second first before hitting high figures.

Try escaping the double-quotes as mentioned in Load test using NPM module loadtest causes server to return HTTP code 400

loadtest -P '{\"device\": {\"ip\": \"159.146.11.203\",\"port\": 8093,\"username\": \"\",\"password\": \"\"},\"subscriber\": {\"id\": \"abcdefgh\"}}' -n 1000 -c 100 --rps 2000 -T 'application/json' 'http://localhost:5050/subscribe-mobile-device'
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!