File tree Expand file tree Collapse file tree 3 files changed +40
-30
lines changed
codegens/r-httr/test/newman
test/codegen/newman/fixtures Expand file tree Collapse file tree 3 files changed +40
-30
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ describe('r-httr Converter', function () {
1313 fileName : 'snippet.r' ,
1414 // Run script required to run the generated code snippet
1515 runScript : 'Rscript snippet.r' ,
16- skipCollections : [ 'redirectCollection' , 'unsupportedMethods' ]
16+ skipCollections : [ 'redirectCollection' , 'unsupportedMethods' , 'rawBody' ]
1717 } ;
1818 runNewmanTest ( convert , options , testConfig ) ;
1919 } ) ;
Original file line number Diff line number Diff line change 66 "schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
77 },
88 "item" : [
9- {
10- "name" : " POST raw with quoted text" ,
11- "event" : [],
12- "request" : {
13- "method" : " POST" ,
14- "header" : [
15- {
16- "key" : " Content-Type" ,
17- "value" : " application/json"
18- }
19- ],
20- "body" : {
21- "mode" : " raw" ,
22- "raw" : " {\n \" Hello\" : \" {\\\" hello_world\\\" : true}\"\n }"
23- },
24- "url" : {
25- "raw" : " https://postman-echo.com/post" ,
26- "protocol" : " https" ,
27- "host" : [
28- " postman-echo" ,
29- " com"
30- ],
31- "path" : [
32- " post"
33- ]
34- }
35- },
36- "response" : []
37- },
389 {
3910 "name" : " Request Headers (With special Characters)" ,
4011 "event" : [
Original file line number Diff line number Diff line change 1+ {
2+ "info" : {
3+ "_postman_id" : " f52ee07d-6345-4220-89af-e6696b3c0122" ,
4+ "name" : " Basic Collection" ,
5+ "description" : " This collection contains requests that will be used to test validity of plugin created to convert postman request into code snippet of particular language." ,
6+ "schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7+ },
8+ "item" : [
9+ {
10+ "name" : " POST raw with quoted text" ,
11+ "event" : [],
12+ "request" : {
13+ "method" : " POST" ,
14+ "header" : [
15+ {
16+ "key" : " Content-Type" ,
17+ "value" : " application/json"
18+ }
19+ ],
20+ "body" : {
21+ "mode" : " raw" ,
22+ "raw" : " {\n \" Hello\" : \" {\\\" hello_world\\\" : true}\"\n }"
23+ },
24+ "url" : {
25+ "raw" : " https://postman-echo.com/post" ,
26+ "protocol" : " https" ,
27+ "host" : [
28+ " postman-echo" ,
29+ " com"
30+ ],
31+ "path" : [
32+ " post"
33+ ]
34+ }
35+ },
36+ "response" : []
37+ }
38+ ]
39+ }
You can’t perform that action at this time.
0 commit comments