137 reputation
314
bio website
location Pune, India
age 25
visits member for 2 years, 7 months
seen Nov 26 at 11:34

A curious mind and a self-learner. Currently a Selenium and Test Automation Practitioner and Javascript enthusiast. I like to think about and work upon innovative tech ideas.


Jul
12
comment Deciding a tool for iOS UI automation providing recording and inspection of elements
Cross platform support is provided by Calabash. And another advantage is that it is open source and uses natural language steps (Cucumber) as a wrapper above Ruby code that drives the app under test. The only small problem that I found with Calabash is it has a console based UIComponent inspection which at times gets really crammed up!
Jul
12
comment Deciding a tool for iOS UI automation providing recording and inspection of elements
This tool: Calabash seemed a perfect choice for me along with UIAutomation. An advantage being that it is open source. I haven't completely explored the tool but I found it matching my requirements.
Jul
12
comment Deciding a tool for iOS UI automation providing recording and inspection of elements
Ok, thanks for the suggestion Matt! :)
Jul
11
comment Using a variable in the filename textfield of CSV dataset config in JMeter
I also tried this: I used a BeanShell script function in the path to place the username in the filename textfield of CSV dataset config like this: /home/abhijeet/load_test_plans/users/${__BeanShell(vars.get("username"))}.csv But this is not working too. Could someone please help me?
Jul
10
comment Deciding a tool for iOS UI automation providing recording and inspection of elements
No. The application i have to test is only a native iOS application. I quoted that I want a tool that gives functionality to inspect native UI components which could be similar to inspecting UI elements on a web page. I hope i've made it clear now :)
Jul
5
comment Deciding a tool for iOS UI automation providing recording and inspection of elements
The first option, doesn't seem to be open source. The second one; i've already mentioned my problems with MonkeyTalk.
Jun
22
comment Using Selenium scripts with JMeter for load testing
I tried again using a regex extractor, a debug sampler and a Debug PostProcessor. There is a /home POST request that gives me this response data: <br> <?xml version='1.0' encoding='UTF-8'?> <partial-response><error><error-name>class java.lang.StringIndexOutOfBoundsException</error-name><error-message><![CDATA[St‌​ring index out of range: -1]]></error-message></error></partial-response> What could be the issue?
Jun
21
comment Using Selenium scripts with JMeter for load testing
Another question. I add a viewState extractor and a user defined variable (name: viewState) in the first GET request of /login of the application and add a HTTPCookie Manager to the Thread group. Now where exactly do i need to add the created variable?? Should i provide snapshots and a detailed document of what i'm doing and what's exactly happening? It's been weeks that i've been searching for a solution but not able to get one still!!
Jun
21
comment Using Selenium scripts with JMeter for load testing
@mbonaci: where exactly can i find the debug component in JMeter?
Jun
21
comment Using Selenium scripts with JMeter for load testing
@mbonaci thanks for the suggestion!
Jun
21
comment Using Selenium scripts with JMeter for load testing
@SamWoods thanks for the suggestion!
Jun
20
comment Using Selenium scripts with JMeter for load testing
I've already tried that number of times. It didn't help at all. I still get viewstate and jsession id issues inspite of using the extractors; which is why i later turned to Selenium scripts with JMeter.
Jun
7
comment Handling JSF ViewState errors using JMeter
Yes, i was still working on the issue so wasn't reverting back. I later found that it's possible to use Selenium JUnit test cases with JMeter. I tried that and it's working. So, as of now, i've kept JSessionID and ViewState aside. Thankyou for the great help! :)
Jun
5
comment Handling JSF ViewState errors using JMeter
So do you mean I should add a new XPath Extractor + a user defined variable for every request in the request tree in JMeter?
Jun
5
comment Handling JSF ViewState errors using JMeter
jmeter.log: pastebin.com/yAij3w5H Yes, i've added HTTP Cookie Manager at the top level (Test Plan). And i've set the encoded checkbox for jsfViewState to checked. I have referenced jsfViewState as ${jsfViewState} in the parameters (after the login request) of any requests that contain ViewState in their headers. I'm very much confused as to what's exactly not working. I'm completely a JMeter newbie, so please bear with me.
Jun
5
comment Handling JSF ViewState errors using JMeter
I enabled the Use Tidy (tolerant parser) checkbox. And also used the HTTP Cookie Manager. But I have just added a HTTP Cookie Manager to the Thread Group. Do i have to make any changes / add any cookies in the Cookie Manager? It's still not working.
Jun
5
comment Handling JSF ViewState errors using JMeter
Sorry about refering to the Var_ViewState variable as ${ViewState}. I did realize that after posting my query here. But correcting the reference still didn't help me. I haven't tried the steps 1,3,4 you mentioned. Will check that and revert back. Thanks a lot for your help.
Jun
5
comment Handling JSF ViewState errors using JMeter
Are these the steps you followed too?
Jun
5
comment Handling JSF ViewState errors using JMeter
it's not working. These are the steps i followed: 1. Recorded the steps using the proxy server. 2. Added a user-defined variable 'jsfViewState' to the Thread Group. 3. Added a RegEx Extractor to the Thread Group with reference name 'jsfViewState' and value as <input type="hidden" name="javax\.faces\.ViewState" id="javax\.faces\.ViewState" value="(.+?)" /> 4. Modified the javax.faces.ViewState Request Parameter for the login steps as ${jsfViewState} and any further requests that are using the ViewState parameter. 5. Played the steps.
Jun
5
comment Need a similar functionality like WaitForPageToLoad in MonkeyTalk
Also I want to know if I can override the Tap function through MonkeyTalk's JavaScript library? If that is so, then i can set the thinktime and retrydelay as a default value in the Tap function's parameters before executing the script.