error when importing a postman collection

Originally posted by jlrunning on February 19, 2018

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?

Originally posted by avidCoder on February 19, 2018

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.

Originally posted by jlrunning on February 20, 2018

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.

Originally posted by jlrunning on February 20, 2018

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.

Originally posted by avidCoder on February 20, 2018

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.

Originally posted by jlrunning on February 20, 2018

How to report to support team?

Originally posted by avidCoder on February 20, 2018

This is the link :- https://support.smartbear.com/message/?prod=ReadyAPI

Originally posted by avidCoder on February 20, 2018

I have raised ticket for this.

Originally posted by jlrunning on February 20, 2018

thank you!

Originally posted by mdavidson on March 15, 2018

Any update on this? I have the same issue.

Originally posted by avidCoder on March 15, 2018

This is what they have replied for the issue :-

Thank you for reaching out.

I tried it on my end and this seems a bug. I have logged it. Unfortunately, there isn’t a workaround for this bug.

The JIRA# is RIA-6725.

I have a comment on RIA-6725. According to the documentation - https://support.smartbear.com/readyapi/docs/testing/integrations/postman.html .

ReadyAPI currently supports only v1 collections and does not support v2 collections. So, RIA-6725 was converted to improvement request RIA-6640.

Originally posted by npsullia on February 19, 2019

Export collection as V1 option. it works though deprecated.

Originally posted by harshjain on April 03, 2019

I found a workaround by exporting the Postman Collection as Collection v1 (deprecated). However, authorization credentials are not imported in this way and you have to manually enter and save them in Soap UI requests.

Originally posted by Debz on August 06, 2019

I’ve encountered this today and on my end, the issue was fixed by selecting “V1” even if it says “deprecated” at Postman’s export page. It seems Postman’s v2.1 cannot be processed properly into SoapUI as well. For more details on the steps for fix, you can refer to this page: https://www.soapui.org/docs/postman-collections.html