Hi Andrey,
Thank you for the enthusiastic response. I would be very happy to contribute to this project as we have already benefited from your work.
With regards to your questions:
1. The main dependency is on Web driver (and it's transitive dependencies) plus jsr223 for scripting
2. Right now we haven't scaled it out rather we simulate it by running the standard Jeter http sampler with the Web driver sampler. This is a simpler and cheaper option but what you are suggesting should be possible.
3. I expect to do that anyway. However if this is successful I would hope other members in the community would also help with questions and documentation. As for the automated testing it is a given that we will need them to ensure quality.
Just one thing to note. The Web driver project has very frequent releases due to the quick browser releases. How will we manage these quick updates to the jars?
In the meantime I will create a fork of the code from github and once complete will do a pull request.
Regards
CP
--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/ufr40-SJp2A/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Cheen-Pin,Good to hear from you :)I've built your code successfully, it opens in JMeter and GUIs are very good. You've done great job to make them so clear and well-arranged! Unfortunately, I have no Selenium/WebDriver expertise to do actual tests. So I rely on you completely in this domain area :)
Sorry, I did not understand a "dog-food" question at all... I planned to increase middle version to 1.1.0 when pull request will be applied.
There is no need to keep documentation outside project page before release. The rule is that we mark wiki pages as "Deprecated" before release, so users don't see them by default. Also there is requirement to mark all documentation items with "since 1.1.0" etc where version dependency is vital. Anyway, our users are intelligent and will ask at the forums in case of problems. Or will post the bugs.I'll grant you contributor access to project pages and github repository right after accepting pull request. I see no reasons not to accept it, I just can't check if it works as users want. So I suggest merging right now, starting wiki pages and releasing next RC as soon as it will be stable enough. Then we should call some beta-tester users to verify that it works in most. Users will give better feedback than me (I'm real Selenium non-user).
Looking at GUIs tells me that using this plugins set will be not so simple, so we really need some tutorial here. The beginner should take the tutorial and have step-by-step introduction to this very specific testing mode.
You will be able to write your future ideas into project Roadmap page after gaining access to project. It is very good that you have so much energy and courage with your plugins, this will bring you success :) One thing disturbs me, the plugins set become so huge that users start having problems with too long menus and too slow JMeter startup. Maybe we'll change shipping scheme once more in the future to have separate plugin groups inside JP@GC. This needs future thinking and ideas. I set users comfort as very high value for JP@GC.
The situation around browser libs looks similar to Hadoop libs. We'll fail trying to release plugins-libs archive with each external libs update, it's too much overhead. Again, I think our users are clever enough to live with this and update libs if necessary. I don't have better idea for now. We should release and try to live. Future will give us a hint, I hope.And don't treat TravisCI serious, I found it not very useful. I use private Jenkins installation instead, it offers much better project CI control.
The summary: Do a pull request, have the access to project wiki, github, svn, then live as a project member moving project to next release :)
Hi,
Glad you like the feature. I am writing the documentation on the jmeter plugins wiki. You'll have to search under the deprecated section. The web driver sampler tutorial there is the current one. Let me know how you go.
Regards
CP
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
Hi Michael
Sorry for the late response but I've been really sick with a bad bout of flu. Great feedback and when I get better I'll respond in full. But in the meantime keep the feedback coming.
CP
Hi Michael
There isn't any support for IE yet. Its further on in the plans. The next set of browsers planned were mobile ones. I'm happy to accept patches.
CP
A pity. IE is one of the main browsers for my company too. Fortunately for us chrome is also highly used.
Hopefully it is somewhat of an important fix for the selenium team... but thanks for investigating the issue.
Regards
CP
Hi
Did you build from source or download it? The code hasn't been packaged yet so you'll need to build from source.
CP
--
Interesting. I haven't seen this before. What does your jmeter.log file say? Are there any errors in there?
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/ufr40-SJp2A/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
Hi
Did you unzip the contents of the 2 zip files into the correct location in your jmeter installation directory?
Can you send a list of the contents of these directories please?
CP
Hi Andrey,
Can we also publish the v1.1.0-RC1 libs zip file as well? Might save on some confusion.
Regards
CP
Hi Srinivasulu
Ive built the 1.1.0-RC1 libs and included it on the downloads page. Can you follow the plugin installation instructions and see if you can see the webdriver options in the GUI?
CP
Hi Vincent,
Glad you like the plugin! We use it at my work and we manage to get some decent client side statistics from our website.
If I may, I'd recommend including some standard Jmeter HTTP samplers as well to be sure of the load on the server side.
Other than that I'm glad to receive the positive feedback.
Regards
CP
Hi Andrey
I totally agree. Interms of features, there's nothing major to add. At this stage it's just stabilizing the code. If there are no new defects reported for this I am happy to release it.
However I do want to talk about release planning and versioning. Once we've released v1.1.0 id like to keep a branch of thid code and just keep updating it to v1.1.1 v1.1.2 etc. This branch will allow us to add bugfixes and at the same time update the library with the latest selenium versions as well. The master can be the place where we add major features.
How does that sound?
Regards
CP
Hi Michael
Id say submit the pull request and we can determine whether or not to add it to the v1.1.0 release or just merge it into master.
Do you have a summary of what the changes are?
Regards
CP
Ok. I'm fine with just planning the next major version. However I do think we should maintain a branch of the 1.1.x codebase so we can release minor changes with new selenium library versions.
Otherwise people using firefox will not be able to test their code when firefox updates and breaks compatibility the api. Let me know if that sounds ok.
Regards
CP
Hi,
You can use a JMeter variable in script Webdriver Sampler when you put your JMeter variable in the Parameters TextField
In the javascript
In the Parameters textfield of the Webdriver Sampler : ${P_LOGIN} ${P_PASSWORD}
========= in the javascript Webdriver Sampler =================
var P_LOGIN = WDS.args[0]; // 1er parametre
var P_PASSWORD = WDS.args[1]; // 2eme parametre
WDS.browser.findElement(pkg.By.name("tfdLogin")).sendKeys(P_LOGIN);
WDS.browser.findElement(pkg.By.name("tfdPassword")).sendKeys(P_PASSWORD);
====================================================
How create a Jmeter variable in the Webdriver script ?
Example : i get text with Selenium command and this text value will be used in another webdriver or in a Beanshell.
I want some think like :
valueFind = WDS.browser.findElement(pkg.By.name("message")).getText();
vars.put("P_VAR1", valueFind);
Vincent D.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/ufr40-SJp2A/unsubscribe.
Hi Michael
You should see how dirty my code was for the initial implementation of the Web driver sampler. What I have contributed is the second rewrite. :)
I am happy to have a look at your code and provide constrictive feedback. I really like some of the ideas and features you've implemented. If you can point me to your github account I can take a look. However I am very busy at work at the moment. A big project is nearing launch day.
Regards
CP
Nice. Do you mind adding this tip to the webdriver sampler best practices on the wiki? It'd be good to share it with others.
--
Thanks Michael. I'll give you some feedback possibly via pull twists to your repo.
Regards
CP
Hi
There is a section on this wiki http://jmeter-plugins.org/wiki/WebDriverSampler/ that describes 'parameters and args'. If it doesn't do exactly what you need feel free to send through you detailed scenario on how you'd like to use parameters and maybe we can help.
Regards
CP
Hmmm. Maybe I need to revisit my documentation.
The idea is that is you specify a space separated string in your 'parameters' field you can access them in the script by referencing them by their index. Eg
Parameters: "cp password"
then in your script you can access the first parameter by specifying
WDS.args[0] // returns cp
WDS.args[1] // returns password
Hope that clears it up
Regards
CP
As result, to open & login you need to write following:go("${host}") - navigate to ${host}iWait(function(){ ... }) - specify implicit wait as 7 secondsforlookups of elements insidefunction_iWait(function(){ ... }, N) - specify implicit wait as N secondsforlookups of elements insidefunction$("#myid") - lookup single element by CSS$$("#myid divs") - lookup list of element by CSS$x(..) - lookup single element by XPathmeasure(function(){ ... }) - measure timing of execution specifiedfunction
go("http://${server}:${port}")$('#user').sendKeys("${username}")$('#pass').sendKeys("${password}")$('#loginButton').click()
measure(function(){go("http://${server}:${port}/mypage.jsp?id=${some_id}");})
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/ufr40-SJp2A/unsubscribe.
...For more options, visit <a href="https://groups.google.com/groups/opt_out" t
...
Hi,Need help to provide different text value to some text box using webdriver. I am new to Jmeter Just started using this .Please help how can i pass different values for different thread.WDS.browser.findElement(pkg.By.xpath('//div[2]/div/input')).sendKeys(['test234']) -----Here test234 should be different for different user.Thanks/Balendra
On Friday, March 15, 2013 6:13:20 PM UTC+5:30, CP Lim wrote:Hi,We've had a need to measure browser performance and have put together a modified version of JMeter for running and controller a browser instance inside of JMeter. The proof of concept is here: https://github.com/Sensis/jmeter, there is also a getting started page here: https://github.com/Sensis/jmeter/wiki/Getting-Started. The core of it is to use Selenium WebDriver to control the browser instance and make it available for scripting using JSR-223, but Javascript/rhino is the only language implemented.Now we're at the point where we are looking to contributing back to the open source community however, the JMeter project was a little divided on the idea: http://jmeter.markmail.org/search/?q=websampler#query:websampler+page:1+mid:7kmep2x7pntll4fy+state:results. Its been a while since we last chatted, and I can re-engage the JMeter group about the value we have seen using this tool, however if all else fails, would this be something I could contribute to the JMeter Plugins project instead?
...