MK.
MK.

Reputation: 1

IBM Worklight with IBM Rational Performance Tester

I require some clarification based on the written in this question: IBM Worklight 6.0 - wl_antiXSRFRealm error after deploying adapter to Worklight Server

I have recorded the mobile application traffic via 'IBM Rational Performance Tester'. The app is developed in the worklight platform.

When i see the home page launch, I could note that the response is 401 - Unauthorized. I understood from the post that it is an authentication mechanism used by worklight server.

In my script it is captured as below,

/-secure- {"challenges":{"wl_deviceNoProvisioningRealm":{"token":"59klbrq39geha0kuvknita262n"},"wl_antiXSRFRealm":{"WL-Instance-Id":"qsft4t6g6c3tc1k1lud66hfg1r"}}}/

Is there a way to overcome it? Since my tool considers 401 as error code, it actually is not proceeding from that step. Please suggest me if that same logic explained in the question would be the way forward to solve this issue. Also please suggest how the above script to be modified, since the XML tag suggested could not be added.

Upvotes: 0

Views: 485

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

From the comments (as the user is no longer available):

The issue was that IBM RPT is not capturing auth request headers, for which a defect ‘APAR PI25188’ has been raised about : RPT TEST GENERATOR DISCARDS NON-STANDARD AUTHORIZATION REQUEST HEADERS. Per IBM RPT dev team suggestion, We have manually added the request headers, RPT missed to capture from the recsession data.

Upvotes: 0

Related Questions