loadtest icon indicating copy to clipboard operation
loadtest copied to clipboard

bug: $ in body string causes API calls to fail

Open nolistic opened this issue 6 years ago • 2 comments

If a string in the body contains a $, it will fail. however, $ in the body of a json is fine as long as encode="json"

nolistic avatar Sep 24 '19 19:09 nolistic

Can you send me the command that failed? When I try:

results <- loadtest("https://www.t-mobile.com",threads=1,loops=5, method="POST", body="Pay me $", encode="raw")

It does not fail.

jnolis avatar Sep 25 '19 22:09 jnolis

It was in the context of "how can I only have 66$" but also failed when I moved it to the front of the string.

Sent from my T-Mobile 4G LTE Device Get Outlook for Androidhttps://aka.ms/ghei36


From: Jacqueline Nolis [email protected] Sent: Wednesday, September 25, 2019 3:04:21 PM To: tmobile/loadtest [email protected] Cc: Heather Nolis [email protected]; Author [email protected] Subject: Re: [tmobile/loadtest] bug: $ in body string causes API calls to fail (#2)

Can you send me the command that failed? When I try:

results <- loadtest("https://www.t-mobile.com",threads=1,loops=5, method="POST", body="Pay me $", encode="raw")

It does not fail.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/tmobile/loadtest/issues/2?email_source=notifications&email_token=AF5DQPPLKVE6WCAN3ZUAUNDQLPN6LA5CNFSM4I2D32RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7TSCTQ#issuecomment-535241038, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF5DQPL4KVKIARBDS43ZAALQLPN6LANCNFSM4I2D32RA.

nolistic avatar Sep 25 '19 23:09 nolistic