The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational Robot

Pages: 1
ramesht
Newbie


Reged: 07/13/09
Posts: 5
Performance tesing on VB application using RRobot
      #579389 - 07/13/09 02:33 AM

Hi,

Have any body performed the performance/load teing on a VB Applicaion using RationalRobot?
i am new to Robot for client server apps.
could any body help me on settings required (protocols to be used) for the recording.

Thanks
Ramesh Tahiliani


Post Extras: Print Post   Remind Me!   Notify Moderator  
SteveO44
Active Member


Reged: 07/08/04
Posts: 1157
Loc: St. Louis, MO, USA
Re: Performance tesing on VB application using RRobot [Re: ramesht]
      #579488 - 07/13/09 08:24 AM

It depends on the protocol your application uses to communicate with the client/server.

--------------------
1. LR/PC 11
2. HTTP
3. No
4. Concurrent
5. n/a
6. New
7. 40k Web, 2k SOA, 1k DB
8. Yes
9. Server 2003


Post Extras: Print Post   Remind Me!   Notify Moderator  
ramesht
Newbie


Reged: 07/13/09
Posts: 5
Re: Performance tesing on VB application using RRobot [Re: SteveO44]
      #579597 - 07/14/09 12:07 AM

Hi
thanks for the reply

Actually i only know that the technology of the application to be tested (Technology: Visual Basic, ActiveX components backend with Oracle database)

when i used the manual filtering option then at the end i get the list of protocols ; now the problem is that what protocols i need to select

could u suggest me the approach i should follow for this

Even when i generate the script using socket protocol then
in the code i get something like
sock_connect ("wss_api002","svdw0093.statestr.com:1231")
what does "wss_api002" mean here

thanks
Ramesh


Post Extras: Print Post   Remind Me!   Notify Moderator  
Finny Mathews
Member


Reged: 11/19/04
Posts: 191
Loc: Trivandrum
Re: Performance tesing on VB application using RRobot [Re: ramesht]
      #579634 - 07/14/09 02:31 AM

If you are able to generate the script, that means Robot is able to capture the traffic using the selected protocols. If you want to know the exact protocol being used, try selecting each available protocol one-by-one.

For more information on reading the VU script (HTTP), start here and for more information on other protocols, try this.

Edited by Finny Mathews (07/14/09 02:44 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
jason_m
Advanced Member


Reged: 03/28/05
Posts: 627
Loc: St. Louis
Re: Performance tesing on VB application using RRobot [Re: Finny Mathews]
      #579724 - 07/14/09 06:54 AM

It's ActiveX. He won't be able to capture it.

Speaking from experience here - you won't be able to do this, so stop. When I had to test an app in this configuration, I had to write my own performance test client in VB with the Active X controls. Total pain.

--------------------
1. 9.5
2. Web/HTTP (HTML mode)
3. No
5. None
6. New
7. Web 5800
Network 1000
DCOM 1000
Oracle 1000
Remote Access 1000
8. Yes
9. Windows Server 2003 SP1
10. No

What Everyone Should Read Before Asking For Help on the Internet


Post Extras: Print Post   Remind Me!   Notify Moderator  
ramesht
Newbie


Reged: 07/13/09
Posts: 5
Re: Performance tesing on VB application using RRobot [Re: jason_m]
      #580069 - 07/15/09 07:42 AM Attachment (163 downloads)

actually i could generate the script with Manula filtering option . at the end of recording it shown me two protocols and i selected all.
But when i try to book a trade/Deal in the application through the recorded code then it is not showing me the Deal/trade in the applicayion/GUI.

I have also attached the code fo reference where following are the blocks
1.login to the appllication [LOGIN]
2.Open deal entry screen [FXDEALC]
3. Enter DATA on screen [DATA]
4. Press Book button [BOOK]
5. Close the application [CLOSE]

Could anyone help me on the same.


Post Extras: Print Post   Remind Me!   Notify Moderator  
jason_m
Advanced Member


Reged: 03/28/05
Posts: 627
Loc: St. Louis
Re: Performance tesing on VB application using RRobot [Re: ramesht]
      #580099 - 07/15/09 09:16 AM

I have no doubt you generated a script. I also have no doubt it didn't work. You can't just repeat socket captures and expect them to work.

Feel free to keep trying, but I'm telling you, you are wasting your time.

--------------------
1. 9.5
2. Web/HTTP (HTML mode)
3. No
5. None
6. New
7. Web 5800
Network 1000
DCOM 1000
Oracle 1000
Remote Access 1000
8. Yes
9. Windows Server 2003 SP1
10. No

What Everyone Should Read Before Asking For Help on the Internet


Post Extras: Print Post   Remind Me!   Notify Moderator  
ramesht
Newbie


Reged: 07/13/09
Posts: 5
Re: Performance tesing on VB application using RRobot [Re: jason_m]
      #580252 - 07/16/09 12:16 AM

hi jason
thanks for the reply ;

I tried a lot of way to get the deal entry script work but still unsuccessful.

but when i tried to change the rates in a screen using the same settings and i could do it successfully .

Could u please tell me any other workaround to get these scripts work

thanks
Ramesh


Post Extras: Print Post   Remind Me!   Notify Moderator  
Finny Mathews
Member


Reged: 11/19/04
Posts: 191
Loc: Trivandrum
Re: Performance tesing on VB application using RRobot [Re: ramesht]
      #580282 - 07/16/09 02:26 AM

Have you tried what Scott Barber offered? (the second link in my previous post, btw, I believe you Jason, but it is always fascinating to try to find a way around difficult tasks :-))

I haven't tried it, but sounds like a reasonable method.

Excerpts from the article...

1. Record the script that you'll ultimately want to play back (script A).
2. Record that script again, exactly the same way you did before (script B).
3. Record that identical script yet again (script C). (This step is often unnecessary, but there's no way to know until after you determine the pattern of differences among scripts. It's always safer to compare three scripts initially to be sure that you've identified the entire pattern.)
4. Compare scripts A, B, and C to identify all of the differences in between the quotes ("") in the sock_send block.
5. Parameterize those differences from the _response file.
6. Record the script again (script D), this time changing any transactional data that will differ between users (user name, password, account number, and the like).
7. Compare scripts A and D and identify all of the differences in between the quotes ("") in the sock_send block that weren't identified in Step 4.
8. Add datapools to handle the varied data identified in Step 7.

Good luck.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 4 anonymous users are browsing this forum.

Moderator:  AJ, RSBarber 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 3112

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5