The other side of elegant websites
- 1. The other side of elegant websites
Balaji Iyer, Anwarhusen Malgave
SIGIST,13 March 2013
© Mindtree limited 2013
- 3. The Culprits
Balaji Iyer
• Works
with
Mindtree
Limited
• Develop
tools,
frameworks
in
the
area
of
Performance
Tes;ng
• Open
sourced
JMeter
Error
Listener
at
Github
• Other
areas
of
interest
include
Web
applica;on
Security
Tes;ng
Anwarhusen Malgave
• Works
with
Mindtree
Limited
• Develop
tools,
frameworks
in
the
area
of
Performance
Tes;ng
• Other
areas
of
interest
include
test
automa;on
and
UI
development
- 7. Performance Testing of Elegant websites
Scrip;ng
Why?
Execu;on
Tools
Analysis
Tuning
Facts
Rich
Set
of
web
applica0ons
Ten
seconds
is
about
the
limit
for
keeping
the
user’s
a;en0on
Speed,
scalability
etc.
JMeter
Open
Source
PlaCorm
Agnos0c
Google
search
handles
over
1
billion
searches
per
day
In
20
minutes
2,716,000
photos
are
uploaded
on
Facebook
More
than
65
million
tweets
a
day
- 9. Basics - Need for Parameterization
Name : Shaun
Search : Mobile
Name : Ted
Search : Book
Name : Joe
Search : Bag
Name : Marsh
Search : Laptop
Name : Frank
Search : Wallet
APPLICATION
- 10. Basics - Need for Correlation
Replaying (Correlated)
Browser
Login:Enter Credentials
Login Successful(Session Id : ssn789)
Get HomePage (Submit : ssn789)
Homepage retrieved
Application Under
Test
- 11. Challenges…
+
Iden0fy
parameters
for
parameteriza0on
and
correla0on
+
Script
Management
across
builds
+
Script
Interoperability
+
Iden0fy
java
scripts
dealing
with
business
logic
- 14. Scripting Engine
Application Under
Test
Browser
JMeter
Req-Res
Scripting Engine
Req-Res
- 15. Functions
• Categorize parameters for parameterization and correlation
• Auto and manual correlation
• “Remember Me” functionality for frequently cited parameters
• Gauge differences between scripts across different builds
• Convert script to other load test tool templates
- 16. Road Ahead
• Narrow down on java scripts dealing with business logic
• Port scripts to new versions of VSTS
• Enhance existing algorithm to support huge request and parameter set