SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    New Member
    Join Date
    May 2010
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Websercises problem

    I am working on web services using Web(HTTP/HTML)

    If i run 850 API's pointing on to one server and get the response and again 850API's pointing on to another server and get the response

    So how can i match these both responses?(identical or non identical)

    For this script and settings should i use?

  2. #2
    Moderator
    Join Date
    Aug 2001
    Location
    NC
    Posts
    6,018
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Websercises problem

    <u>Method 1</u>

    Use lr_output_message() to write a formatted string to the output log area of the controller consisting of "API_TEST",[API CALL],[RESPONSE]. At the end of the test go into output.mdb in your results set and query for the output messages and dump them to an excel spreadsheet. Sort it by API call.

    Next, run another test against the second instance. Similarly dump the results to the output.mdb, query the results and then copy into another column in excel. Compare the two columns

    <u>Method 2</u>

    Run query against server 1, store result. Run query against server 2 (from within the same script for the same API call) and store the result. Using the string comparison APIs of the language used for your virtual user, compare the output from server 1 to the output from server 2. Based upon whether results are identical or non-identical create a data point with the API name and label it as a 0 value for pass or a 1 value for fail. Report on your data points at the end of the test.

    <u>Method 3</u>

    Use a single virtual user to run all 850APIs. Write the output of each to a file which contains the API Call and the result (see fopen() and related apis). Save the output file. Run the same virtual user with the second server involved. Assuming the Files are identically formatted and the APIs are executed in the same sequence, then use WINDIFF (Ships with LoadRunner) to compare the two files for differences between the two. You can use WINDIFF to mark only differences between the two files and the output the differences to a new file.
    James Pulley

    Replace ineffective offshore contracts, LoadRunnerByTheHour. Starting @ $19.95/hr USD.

    Put us to the test, skilled expertise is less expensive than you might imagine.

    Twitter: @LoadRunnerBTH @PerfBytes

 

 

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 11.54%
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 08:23 PM.

Copyright BetaSoft Inc.