Ask a Question

error when importing a postman collection

SOLVED
jlrunning
Occasional Contributor

error when importing a postman collection

I tried to import a postman collection (JSON format) in SoapUI/ ReadAPI, but I encounter the following error:

 

net.sf.json.JSONException: JSONObject["requests"] is not a JSONArray

 

Can someone please help me?

 

 

13 REPLIES 13
avidCoder
Super Contributor

I have imported your file which you have enclosed with the problem. Seems like, there is no problem with the JSON file. It works fine. Below is the screenshot after I imported the JSON. Try using latest version of postman.

postman.PNG

jlrunning
Occasional Contributor

Thanks for replying. sorry I didn't mention it clearly. I mean I was trying to import the postman collection file in the SoapUI or ReadyAPI via File/Import Postman collection. Both of them give the error.

jlrunning
Occasional Contributor

there is no problem if I directly import in Postman.

But I suppose the importing should also work in SoapUI since there is the function called "Import postman collection" in SoapUI.

This is probably a bug, Please report to the support team. I tried with different collection file also, same error is coming up for me also. Log a ticket for that.

 

 

jlrunning
Occasional Contributor

How to report to support team?

I have raised ticket for this. 

jlrunning
Occasional Contributor

thank you!

Any update on this?  I have the same issue.

cancel
Showing results for 
Search instead for 
Did you mean: