AnsweredAssumed Answered

Can we use properties set in one match script in another match script within same VSI?

Question asked by akshay_3089 on Feb 17, 2016

Hello,

 

Here is the case:-

 

We have three requests as , each pair is of different response and different operation.

Request1_A and Request1_B

Request2_A and Request2_B

Request3_A and Request3_B

 

For each request , based on the data of incoming request , have to set a match script.

  • For Request1_A and Request1_B , we have a field that uniquely identifies each request , so we were able to separate them as per match script.
  • For Request2_A and Request2_B and Request3_A and Request3_B pair the requests are identical so no way to separate them as per match script.

 

However, field in Request1_A helps us identify not only request 1 but also Request2_A, Request3_A uniquely. Same applies to field in Request1_B that helps to identify Request2_B and Request3_B uniquely.

 

I have two approaches in mind for the same :-

1. Java script to store the field value in property and pass that property in match script of Request2 and Request3.

2.Create a property in match script of Request1 and store the value of this property and pass that property in match script of Request2 and Request3.

 

 

Could you please guide me on the above two approach or new approach to get this through?

 

Thanks,

Akshay

Outcomes