Bug 63301 - can the change json encoding format In the url data?
Summary: can the change json encoding format In the url data?
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.1
Hardware: PC All
: P3 trivial (vote)
Target Milestone: JMETER_5.1.1
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-29 09:08 UTC by Kaiyuan.Chen
Modified: 2019-03-29 10:21 UTC (History)
1 user (show)



Attachments
This is json (233.80 KB, image/jpeg)
2019-03-29 09:08 UTC, Kaiyuan.Chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kaiyuan.Chen 2019-03-29 09:08:11 UTC
Created attachment 36503 [details]
This is json

Holle manager:
              I use Jmeter 5.0 in windows 10, But I find json coding in the url data is "encodeURIComponent"
              Can I Change json coding in "encodeURIComponent" to"encodeURI"?
                   Please reply me, I hope is feasible.
                                Thanks

BY: Kaite
2019-3-29 17:00:52

=======attachment========
//Json content
// I send json
[{"qid":13527,"qgid":1,"answer":"[[\"5\"]]","right":1,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3},{"qid":13528,"qgid":1,"answer":"[[\"5\"]]","right":0,"spend_time":3}]


// json on Jemter transcoding 
%5B%7B%22qid%22%3A13527%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A1%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%2C%7B%22qid%22%3A13528%2C%22qgid%22%3A1%2C%22answer%22%3A%22%5B%5B%5C%225%5C%22%5D%5D%22%2C%22right%22%3A0%2C%22spend_time%22%3A3%7D%5D

// I hope transcoding json
%5B%7B%22qid%22:13527,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:1,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D,%7B%22qid%22:13528,%22qgid%22:1,%22answer%22:%22%5B%5B%5C%225%5C%22%5D%5D%22,%22right%22:0,%22spend_time%22:3%7D%5D