Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I have a web application which i would like to automate the testing for functional as well as load testing.

However , it has the following features which i feel will hinder the most common automation tools from functioning.

  1. The web application throws a SSL client authentication prompt in the login page after clicking on Submit button where i need to choose the appropriate certificate for the user to login.

  2. In form pages , once again , the form data is signed using an ActiveX control or a firefox addon , which will throw a prompt similar to the SSL client authentication prompt from which the user selects his key to sign the data beofre submitting to the server.

Is it possible to automate the user activity in this application from user login , few page traversals, a form submission with the signing and logout . How can this be done ?[Tools etc].

If this is possible , then will i be able to scale this activity to say 100 users at the same time ?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

For functional testing, you should have no difficulty with automation. The SSL client authentication prompt is simply another element of a web page, as is the signed control. You will likely need different code for the ActiveX control vs the Firefox add on and include logic to determine which path your functional automation follows. The certificate to select and the key to sign with would both be test data, stored with your user credentials so that your automation knows which user is logged in and selects the appropriate certificate and key based on the logged in user. You should be able to do this with most functional testing tools.

Load testing is a little more complex since you will want that to use different users working concurrently and load testing typically does not run via the functional interface: the usual method is to record a sequence of actions and then have the http/https gets and posts replayed from multiple hosts. You'll need a load test tool that supports SSL (some do this better than others - someone with more experience in load testing than me will need to supply details) and which allows you to set different credentials and selections for your different users. Depending on your scenario, you may also want to define different actions for different users to give a more representative loading. You'll also want to be able to define ramp in rather than have all your users all performing the same action at the same time. I'd suggest investigating some of the cloud-based tools for this, as you can build small runs quite cheaply and scale up without needing to invest heavily.

share|improve this answer
    
Is there any functional testing tool u know which can do all this ? –  Arun Aug 28 '13 at 11:41
    
Arun, see this answer to understand why functional testing tools may not be the best choice, even though there are possible solutions: sqa.stackexchange.com/questions/3551/… –  Sam Woods Aug 28 '13 at 15:29
    
@SamWoods I can understand what u've explained , i just want solutions to carry out the functional testing and Load testing , but not necessarily using the same set of tools or frameworks . Just wanted to know what can be used to do each one . –  Arun Aug 29 '13 at 10:53
    
@Arun - I didn't list tools because every automation tool I've used and investigated can do what you ask. That includes TestComplete, Microsoft CodedUI, TestAnywhere, and Selenium. I'm sure most of the other tools that handle web functional testing can do it too. That makes it a matter of which tool suits your needs and your budget. –  Kate Paulk Aug 29 '13 at 11:32
    
@Arun - you will find that load testing tools will mostly be separate. TestComplete has a load testing module, but no longer actively develops against it. I have no experience with load testing so I can't give you any more information about load test tools. –  Kate Paulk Sep 3 '13 at 11:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.