SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Apprentice
    Join Date
    Jan 2013
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    LoadRunner Scripting with PKI Tokens

    Hello everyone. I am trying to utilize PKI Tokens in a script used mainly for regression purposes.
    I have my scripts setup to do what I want as I was previously using a username/password combination for accessing a private website and then performing regression-type testing.
    I realize LoadRunner is more geared towards "load" testing but it's all I have at this time.

    Can someone please point me in the right direction ITO the types of protocols or special scripting that is needed to replace username/password login combinations into PKI Token usage?
    I'm using the HTTP Web protocol and have LoadRunner 11.

    Thanks for the help!

  2. #2
    Apprentice
    Join Date
    Jan 2013
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Quote Originally Posted by kev4heels View Post
    Hello everyone. I am trying to utilize PKI Tokens in a script used mainly for regression purposes.
    I have my scripts setup to do what I want as I was previously using a username/password combination for accessing a private website and then performing regression-type testing.
    I realize LoadRunner is more geared towards "load" testing but it's all I have at this time.

    Can someone please point me in the right direction ITO the types of protocols or special scripting that is needed to replace username/password login combinations into PKI Token usage?
    I'm using the HTTP Web protocol and have LoadRunner 11.

    Thanks for the help!
    does anyone have some feedback for this question?
    i would appreciate any help that can be provided.

  3. #3
    SQA Knight bklabel1's Avatar
    Join Date
    Sep 2012
    Location
    Kew Gardens, United States
    Posts
    2,596
    Post Thanks / Like
    Blog Entries
    1
    Mentioned
    2 Post(s)
    Tagged
    2 Thread(s)
    Total Downloaded
    0
    Are you trying to test the Public Key Incription or are you testing the functionality of the application that you are testing and PKI is in the way?

    I am light on both the subjects of PKI and LR but worked a bit on both so I thought this question may of benefit to the people contributors that follow me on this thread.

    Thanks,

    Kevin

  4. #4
    Moderator
    Join Date
    Aug 2001
    Location
    NC
    Posts
    6,018
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    ....performing regression-type testing. ....
    A loadrunner web virtual user is an inappropriate tool for this type of testing. Please consider QTP Essentials or Selenium for this testing

  5. #5
    SQA Knight
    Join Date
    May 2006
    Location
    Playa Del Rey, California, United States
    Posts
    2,593
    Post Thanks / Like
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    The question is how are the tokens generated?

    There should be some sort of web service or form submission that triggers a response that contains the tokens, most likely as a cookie. From there you need to parameterize.

    If there isn't an easy way to get the token. Then you need to create some sort of proxy service or stub service that you can have your script call which returns the token you need.

    (BTW, I have no experience on LoadRunner, I'm just talking about load testing tools with authentication in general)
    David Lai
    SDET / Consultant
    LinkedIn profile

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 7.14%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:30 AM.

Copyright BetaSoft Inc.