Forum Discussion

jnichols1972's avatar
jnichols1972
New Contributor
8 years ago
Solved

Issue when importing a JSON file to use as a datasource

To support using the same data files for both SoapUI tests and our own test framework (java), I was trying to use json.  I imported my file with a FileWait step, and then parsed it using a JSON DataSource step and importing the FileContents property.  When selecting a Row or Column path using the navigator, the tree appears to display correctly.  But after selecting and importing a couple rows, the first field is the entire row, and the second field is the first column.  If I add columns, this doesn't seem to import the other field.  

 

I may be missing something basic, but I couldn't find a solution in the online documentation nor on the forum.

 

I'm pretty new to ReadyAPI (I'd used SoapUI years ago, and it wasn't the pro version).  Thanks in advance for help, screencaps and json file (minus extension) attached.

  • Hi jnichols1972,

     

    Your approach looks fine. I suggest that you make sure that you are using the latest Ready! API version - v.1.8. If you see the same behavior there, please contact our Customer Care Team to investigate this. You can reach out to them here:

    http://support.smartbear.com/product-list/

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi jnichols1972,

     

    Your approach looks fine. I suggest that you make sure that you are using the latest Ready! API version - v.1.8. If you see the same behavior there, please contact our Customer Care Team to investigate this. You can reach out to them here:

    http://support.smartbear.com/product-list/

    • jnichols1972's avatar
      jnichols1972
      New Contributor

      Yes, it's defnitely 1.8.0  New install this week.  I'll follow up with support.  Thanks!