iMacros Web Testing
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

iMacros Web Testing

on

  • 3,830 views

In-Browser Web Testing for Internet Explorer and Firefox

In-Browser Web Testing for Internet Explorer and Firefox

Statistics

Views

Total Views
3,830
Views on SlideShare
3,827
Embed Views
3

Actions

Likes
1
Downloads
23
Comments
0

2 Embeds 3

http://www.slideshare.net 2
http://www.slideee.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

iMacros Web Testing Presentation Transcript

  • 1. Performance Testing & Internet Monitoring
  • 2. STOPWATCH Command
    • Intended for:
    • Performance testing (Response time measurements)
    • Internet Monitoring
    • Why?:
    • Response time is a top factor for most visitors in choosing a website. For many visitors response time is even more important than prices or quality of content.
    • Monitor server uptime and server load
    • Notify webmaster in case of problems
  • 3. Insert STOPWATCH Command
    • VERSION BUILD=6120323
    • SET !FILESTOPWATCH mydata.csv
    • STOPWATCH ID=Total
    • URL GOTO=http://www.iopus.com/imacros/
    • STOPWATCH ID=SubmitData
    • TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:WebDataEntry ATTR=NAME:SendButton&&VALUE:*submit*
    • STOPWATCH ID=SubmitData
    • ADD !EXTRACT {{!STOPWATCHTIME}}
    • STOPWATCH ID=Store
    • TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:order ATTR=NAME:ORDER_PRODUCT_NOW&&VALUE:Order<SP>Now
    • STOPWATCH ID=Store
    • ADD !EXTRACT {{!STOPWATCHTIME}}
    • STOPWATCH ID=Total
    Some lines have been omitted for better readability. Please see Demo-Stopwatch for complete macro.
  • 4. Demo-Stopwatch Sample Data
    • &quot;2008/03/25&quot;,&quot;3:33:30&quot;,&quot;demo-stopwatch&quot;,&quot; FIRSTPAGE &quot;,&quot;1.902&quot;
    • &quot;2008/03/25&quot;,&quot;3:33:33&quot;,&quot;demo-stopwatch&quot;,&quot; SUBMITDATA &quot;,&quot;0.731&quot;
    • &quot;2008/03/25&quot;,&quot;3:33:45&quot;,&quot;demo-stopwatch&quot;,&quot; STORE &quot;,&quot;5.157&quot;
    • &quot;2008/03/25&quot;,&quot;3:33:45&quot;,&quot;demo-stopwatch&quot;,&quot; TOTAL &quot;,&quot;16.503&quot;
    • &quot;2008/03/25&quot;,&quot;3:38:49&quot;,&quot;demo-stopwatch&quot;,&quot; FIRSTPAGE &quot;,&quot;1.092&quot;
    • &quot;2008/03/25&quot;,&quot;3:38:52&quot;,&quot;demo-stopwatch&quot;,&quot; SUBMITDATA &quot;,&quot;0.731&quot;
    • &quot;2008/03/25&quot;,&quot;3:39:03&quot;,&quot;demo-stopwatch&quot;,&quot; STORE &quot;,&quot;5.308&quot;
    • &quot;2008/03/25&quot;,&quot;3:39:03&quot;,&quot;demo-stopwatch&quot;,&quot; TOTAL &quot;,&quot;15.062&quot;
    • &quot;2008/03/25&quot;,&quot;3:44:06&quot;,&quot;demo-stopwatch&quot;,&quot; FIRSTPAGE &quot;,&quot;0.611&quot;
    • &quot;2008/03/25&quot;,&quot;3:44:09&quot;,&quot;demo-stopwatch&quot;,&quot; SUBMITDATA &quot;,&quot;0.721&quot;
    • &quot;2008/03/25&quot;,&quot;3:44:33&quot;,&quot;demo-stopwatch&quot;,&quot; STORE &quot;,&quot;6.95&quot;
    • &quot;2008/03/25&quot;,&quot;3:44:33&quot;,&quot;demo-stopwatch&quot;,&quot; TOTAL &quot;,&quot;20.61&quot;
    • &quot;2008/03/25&quot;,&quot;3:49:36&quot;,&quot;demo-stopwatch&quot;,&quot; FIRSTPAGE &quot;,&quot;0.641&quot;
    • &quot;2008/03/25&quot;,&quot;3:49:39&quot;,&quot;demo-stopwatch&quot;,&quot; SUBMITDATA &quot;,&quot;1.051&quot;
    • &quot;2008/03/25&quot;,&quot;3:49:56&quot;,&quot;demo-stopwatch&quot;,&quot; STORE &quot;,&quot;7.841&quot;
    • &quot;2008/03/25&quot;,&quot;3:49:56&quot;,&quot;demo-stopwatch&quot;,&quot; TOTAL &quot;,&quot;20.169&quot;
    Monitoring Station: Heidelberg, Germany
  • 5. iOpus.com Response Time Data (March 2005) Server 1 (iOpus): Houston, Texas Server 2 (Store): Denver, Colorado Monitoring Station: Dallas, Texas Macro Demo-Stopwatch: FirstPage Store SubmitData Total
  • 6. Best Practice for Response Time Measurements
    • iMacros response time measurements always reflects the true user experience as they are measured using a real browser and the original browser plug-ins such as Adobe Flash Player, Silverlight or SUN Java runtime.
    • Add a CLEAR statement to your macro.
    • Average Measurements. The &quot;internet speed&quot; can fluctuate from minute to minute even on a fast connection.
    • Accuracy depends on the accuracy of the PC clock. This applies to all software that does time measurements on a PC.
    • Under normal conditions the processor speed does not influence the measured response times. Only if the PC is so slow that the web page rendering of the browser is slowed down, will the CPU speed have an influence on the measured response time.
  • 7. Keyword Assertion Search for a keyword can be done via TAG Create a macro with only two lines: VERSION BUILD=6120125  TAG POS=1 TYPE=B ATTR=TXT : * completed * In this example, we are searching the web page for the first occurrence (POS=1) of the keyword &quot;completed“. The TAG command will test if keyword appeared on website.
  • 8. Image Assertion Search for an image can be done via the SAVEITEM feature: CLEAR URL GOTO=http://www.iopus.com/imacros/ TAG POS=1 TYPE=IMG ATTR=TXT:Only*version CONTENT=EVENT:SAVEITEM This macro will download an image. If the image is missing on your web page, the macro stops with an “Image not found&quot; error. To make sure that the missing image is not stored in the browser cache, it is recommended that you use the CLEAR command before this test.
  • 9. Demo: Internet Monitoring
    • Part1: Record an “Online Shopping Experience” macro at “Sears.com” and use it for response time measurements. Measure response time at various critical points separately, for example when an item is placed into the shopping cart.
    • Part 2: Make sure the price is displayed correctly
    • Part 3: Make sure the item image is displayed correctly