getGeneratedDataSourceValues returning null

angrymouseangrymouse Posts: 10

I'm trying to make a script in incoming Request -> payload, but when i try to put some values to use in response i'm receiving a null pointer. I'm getting the data source with context.getGeneratedDataSourceValues().

Anyone have any idea about what could I be doing wrong?


  • keegan_chankeegan_chan Posts: 59 ✭✭

    The context.getGeneratedDataSourceValues method is typically used to extract all values from XML Data Banks. So it may not be suitable for your purpose.
    If you define a responder suite variable, then the script in the Extension Tool would be able to access it, via the context.getValue and context.setValue methods.

Sign In or Register to comment.