• Shikha Raheja
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi. I have a test class that makes a mock REST API callout . Now,I need to make another callout in test class and the response body would be response received from first mock callout. The first callout is made and correct response is returned . However,I am unable to use the response returned as body for another mock callout. This comes out to be null. How can I accomplish this? Has anyone encountered a scenario like this.
Hi. I have a test class that makes a mock REST API callout . Now,I need to make another callout in test class and the response body would be response received from first mock callout. The first callout is made and correct response is returned . However,I am unable to use the response returned as body for another mock callout. This comes out to be null. How can I accomplish this? Has anyone encountered a scenario like this.