It's all about the answers!

Ask a question

RPT: Custom code for testing an application.


Sourabh Jain (281811) | asked Mar 19 '14, 8:57 a.m.
edited Mar 19 '14, 9:04 a.m.
Hi,

Need urgent help!!
I am trying to create test script for an application which list number of trains, on selection of two station A & B . Based on the train availability between the selected stations we need to select the type of seat available. We can select any seat out of 3 choice randomly.

Please help in understanding and writing the java code for same. we are using Rational Performance Tester .

Awaiting for a quick response.

Thanks in advance.




One answer



permanent link
Ara Masrof (3.2k15) | answered Mar 19 '14, 9:34 a.m.
JAZZ DEVELOPER
 Sourabbh,
Your best bet is to post this question on the RPT developer works forum

https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000326

From a high level; you'll most likely need to create a Field reference for the response in question, pass it to your Custom Code class, parse the response for the data you are looking for, then return the value back to the RPT script (you can then substitute the return value in the appropriate subsequent request(s))  

Ara

Comments
Sourabh Jain commented Mar 19 '14, 1:17 p.m. | edited Mar 19 '14, 1:18 p.m.

 sorry, You had shared the RPT forum link.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.