SlideShare ist ein Scribd-Unternehmen logo
1 von 3
Downloaden Sie, um offline zu lesen
ISSN 1866-5705   www.testingexperience.com      free digital version       print version 8,00 €   printed in Germany                                                       10




                                                                                                                       The Magazine for Professional Testers




                                                                       Performance Testing




                   We turn 10!
                                                                                                                                                               June 2010




                      © iStockphoto.com/DNY59
© iStockphoto.com/kryczka




                                                           Case study: Testing of Mobile
                                                           Positioning Web Services
                                                                                                                      by Dr. Andres Kull




The case study was conducted to test Reach-U’s (http://www.           a full-feature TTCN-3 test development and execution platform
reach-u.com/) Workforce Management (WFM) application, a               and the JMeter (JMet) load tester. Additionally, a system adapter
web-based mobile positioning application developed by Reach-U.        was developed to communicate between WFM and the TTCN-3
WFM is an application that can observe a workforce’s movement         test development and execution platform as well as the JMeter
history, location and send SMSs to personnel via the web browser      load tester.
client. WFM’s users are primarily companies that would like to
                                                                      Firstly, the TTCN-3 scripts generator was used to generate TTCN-3
track and plan their workforce locations in real time.
                                                                                                      test cases from the system model.
                                                                                                      The test cases generated from the
                                                                                                      model were executed on the TTCN-
                                                                                                      3 test development and execution
                                                                                                      platform. Test cases controlled the
                                                                                                      execution of JMeter as well. JMeter
                                                                                                      was used to generate the load for
                                                                                                      the server infrastructure of WFM.
                                                                                                      The test cases instructed JMeter
                                                                                                      to vary the load. Therefore, the test
                                                                                                      cases were communicated to two
                                                                                                      counterparts – the IUT and JMeter.
                                                                                                      In between, the system adapter
                                                                                                      was developed. The system adapt-
                                                                                                      er connected to the TTCN-3 test de-
                                                                                                      velopment and execution platform
                                                                                                      to WFM and JMeter. The interface
                                                                                                      of the system adapter towards
                                                                                                      WFM provided HTTP message traf-
                                                                                                      fic over TCP/IP. In this way the test
Figure 1: General architecture of WFM                                 cases ran on the TTCN-3 execution platform and simulated the
                                                                      WFM web-client. The interface of the system adapter to JMeter al-
The case study was performed to evaluate the applicability of
                                                                      lowed JMeter to be controlled by HTTP GET messages over TCP/IP.
model-based testing for testing web services via functional and
load testing – use cases where an operator uses a WFM web-
client to locate targets were tested. Only servers that are part of
WFM were in the scope of the implementation under test (IUT).
A web client was simulated by the test system. It is worth noting
that testing the functionality of the web client itself was out of
the scope of the case study.
The following aspects were evaluated in the case study:
•    Overall feasibility of model-based testing technology for
     testing web services.
•    Applicability of model-based testing technology for load
     testing.

Implementation
In the case study we used a test generator producing TTCN-3
test scripts automatically from the State Model (UML) of the IUT,
                                                                               Figure 2: The test environment of the WFM

76              The Magazine for Professional Testers                                                           www.testingexperience.com
Results
                                      •	   Overall	 feasibility	 of	 model-based	 testing	 technology	 for	 testing	 web	
                                           services.	
                                      WFM is a complex distributed web application consisting of many server ap-
                                      plications distributed/duplicated on different hosts and protected by a load
                                      balancer from overload situations. The case study demonstrated the feasibil-
                                      ity of the model-based testing (MBT) technology using TTCN-3 script’s auto-
                                      matic generator for functional testing of an IUT interface over web services.
                                      •	   Applicability	of	model-based	testing	technology	for	load	testing
                                      In the case study, the load tests and functional tests were used in parallel
                                      to test the IUT. The case study demonstrated the applicability of the model-
                                      based testing in general for usage in load tests to increase the quality of
                                      overall testing. Moreover, it showed that MBT technology could be used
                                      beyond the borders of traditional functional black-box testing. In the case                      Biography
                                      study, the functional tests were generated out of the WFM model and used
                                      in conjunction with a load tester in order to prove the expected behavior of                     Andres Kull is a co-founder and CEO of
                                      the IUT in the event of heavy loads.                                                             Elvior OÜ. Elvior is a software testing
                                                                                                                                       services and tools company specialized
                                                                                                                                       in embedded and distributed software
                                                                                                                                       testing. Andres has a PhD (2009) in
                                                                                                                                       Informatics and Communication and
                                                                                                                                       an MSc (1985) in Control Systems from
                                                                                                                                       the Tallinn University of Technology. His
                                                                                                                                       25-year professional career spans the
                                                                                                                                       areas of control systems for the chemi-
                                                                                                                                       cal industry and model-based enginee-
                                                                                                                                       ring of software-intensive embedded
                                                                                                                                       and distributed systems. Andres has
                                                                                                                                       held researcher positions at the Tallinn
                                                                                                                                       University of Technology and Technical
                                                                                                                                       Research Centre of Finland (VTT). His
                                                                                                                                       current specialities, in addition to the
                                                                                                                                       management of Elvior, are embedded
                                                                                                                                       software development and testing,
                                                                                                                                       model-based testing, and TTCN-3 tes-
                                                                                                                                       ting and test tools.




                                                                                                             - the tool for test case design and test data generation
© Pitopia / Klaus-Peter Adler, 2007




                                                                                                                               www.casemaker.eu

                                      www.testingexperience.com                                                             The Magazine for Professional Testers            77

Weitere ähnliche Inhalte

Kürzlich hochgeladen

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Kürzlich hochgeladen (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Empfohlen (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Testing Experience article: Case study- Testing of Mobile Positioning Web Services

  • 1. ISSN 1866-5705 www.testingexperience.com free digital version print version 8,00 € printed in Germany 10 The Magazine for Professional Testers Performance Testing We turn 10! June 2010 © iStockphoto.com/DNY59
  • 2. © iStockphoto.com/kryczka Case study: Testing of Mobile Positioning Web Services by Dr. Andres Kull The case study was conducted to test Reach-U’s (http://www. a full-feature TTCN-3 test development and execution platform reach-u.com/) Workforce Management (WFM) application, a and the JMeter (JMet) load tester. Additionally, a system adapter web-based mobile positioning application developed by Reach-U. was developed to communicate between WFM and the TTCN-3 WFM is an application that can observe a workforce’s movement test development and execution platform as well as the JMeter history, location and send SMSs to personnel via the web browser load tester. client. WFM’s users are primarily companies that would like to Firstly, the TTCN-3 scripts generator was used to generate TTCN-3 track and plan their workforce locations in real time. test cases from the system model. The test cases generated from the model were executed on the TTCN- 3 test development and execution platform. Test cases controlled the execution of JMeter as well. JMeter was used to generate the load for the server infrastructure of WFM. The test cases instructed JMeter to vary the load. Therefore, the test cases were communicated to two counterparts – the IUT and JMeter. In between, the system adapter was developed. The system adapt- er connected to the TTCN-3 test de- velopment and execution platform to WFM and JMeter. The interface of the system adapter towards WFM provided HTTP message traf- fic over TCP/IP. In this way the test Figure 1: General architecture of WFM cases ran on the TTCN-3 execution platform and simulated the WFM web-client. The interface of the system adapter to JMeter al- The case study was performed to evaluate the applicability of lowed JMeter to be controlled by HTTP GET messages over TCP/IP. model-based testing for testing web services via functional and load testing – use cases where an operator uses a WFM web- client to locate targets were tested. Only servers that are part of WFM were in the scope of the implementation under test (IUT). A web client was simulated by the test system. It is worth noting that testing the functionality of the web client itself was out of the scope of the case study. The following aspects were evaluated in the case study: • Overall feasibility of model-based testing technology for testing web services. • Applicability of model-based testing technology for load testing. Implementation In the case study we used a test generator producing TTCN-3 test scripts automatically from the State Model (UML) of the IUT, Figure 2: The test environment of the WFM 76 The Magazine for Professional Testers www.testingexperience.com
  • 3. Results • Overall feasibility of model-based testing technology for testing web services. WFM is a complex distributed web application consisting of many server ap- plications distributed/duplicated on different hosts and protected by a load balancer from overload situations. The case study demonstrated the feasibil- ity of the model-based testing (MBT) technology using TTCN-3 script’s auto- matic generator for functional testing of an IUT interface over web services. • Applicability of model-based testing technology for load testing In the case study, the load tests and functional tests were used in parallel to test the IUT. The case study demonstrated the applicability of the model- based testing in general for usage in load tests to increase the quality of overall testing. Moreover, it showed that MBT technology could be used beyond the borders of traditional functional black-box testing. In the case Biography study, the functional tests were generated out of the WFM model and used in conjunction with a load tester in order to prove the expected behavior of Andres Kull is a co-founder and CEO of the IUT in the event of heavy loads. Elvior OÜ. Elvior is a software testing services and tools company specialized in embedded and distributed software testing. Andres has a PhD (2009) in Informatics and Communication and an MSc (1985) in Control Systems from the Tallinn University of Technology. His 25-year professional career spans the areas of control systems for the chemi- cal industry and model-based enginee- ring of software-intensive embedded and distributed systems. Andres has held researcher positions at the Tallinn University of Technology and Technical Research Centre of Finland (VTT). His current specialities, in addition to the management of Elvior, are embedded software development and testing, model-based testing, and TTCN-3 tes- ting and test tools. - the tool for test case design and test data generation © Pitopia / Klaus-Peter Adler, 2007 www.casemaker.eu www.testingexperience.com The Magazine for Professional Testers 77