Test Data Manager

 View Only
  • 1.  Capture blank API response using Javelin

    Posted May 25, 2021 06:54 AM
    Hi Team,

    We've one API whose response is coming blank, and when we are automating that api through Javelin, so it is throwing error in Javelin "Error reading Jtoken from JsonReader".
    Same api is working fine in postman(where also response is coming as blank), is there any way to handle this scenario in Javelin?


    Thanks


  • 2.  RE: Capture blank API response using Javelin

    Broadcom Employee
    Posted May 26, 2021 05:14 AM
    Hi Kran,

    Javelin accepts Rest responses as XML, JObject and JArray and it is possible that Javelin cannot parse the blank response in those types.

    I would suggest you to use InvokeMethod and use curl command which could be exported from Postman.

    Hope this helps.

    Best Regards,


    Hi Kran,

    Javelin gets response as XML, JObject and JArray. So, it is possible that Javelin cannot parse the blank response and throws that error.

    You may use 
    Hi Kran,

    Javelin gets response as XML, JObject and JArray. So, it is possible that Javelin cannot parse the blank response and throws that error.

    You may use