Forum Discussion

Behdad's avatar
Behdad
Occasional Contributor
4 years ago
Solved

DataSource definition error "Cannot invoke "

Hi 

I am using ReadyApi to test RestAPI and in test cases i used to define DataSource to define variables and mostly choose DataGenerator, So in first time definition it works  and i add some properties &save them but when i came back to it to add another property and try to Run it to see values in data log list , usually i face with below error :

Cannot invoke "com.eviware.soapui.impl.wsdl.teststeps.datasource.DataGenerator.GeneratedDataValue.getValue()" because the return value of "java.util.Map.get(Object)" is null

 

So does any one have similar experience ? 

Do you have any idea on how to solve it !?

 

 

  • Hi Behdad ! We just released a new version of ReadyAPI - 3.5.2. I would recommend updating to this version.

     

    If this doesn't help, I'd suggest talking to the customer care team, they will conduct a deeper investigation of the issue and provide you with a solution -  https://support.smartbear.com/readyapi/message/ 

5 Replies

    • Behdad's avatar
      Behdad
      Occasional Contributor

      Hi Rich 

      I am using Ready Api 3.5.1 , but have similar experience with earlier version also.

      • sonya_m's avatar
        sonya_m
        SmartBear Alumni (Retired)

        Hi Behdad ! We just released a new version of ReadyAPI - 3.5.2. I would recommend updating to this version.

         

        If this doesn't help, I'd suggest talking to the customer care team, they will conduct a deeper investigation of the issue and provide you with a solution -  https://support.smartbear.com/readyapi/message/