[xwiki-users] Xwiki jmeter test
Hi all, I want to make some load test to xwiki using jmeter. I have a problem with the login because I don't understand which parameters I have to add to the request /xwiki/bin/login/XWiki/XWikiLogin Cna someone help me?? Thanks Raffo
Hi, Raffaele Viola wrote:
Hi all,
I want to make some load test to xwiki using jmeter. I have a problem with the login because I don't understand which parameters I have to add to the request /xwiki/bin/login/XWiki/XWikiLogin
Could this relate to your issue? http://jira.xwiki.org/jira/browse/XWIKI-2018 Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team
Raffaele Viola wrote:
Hi all,
I want to make some load test to xwiki using jmeter. I have a problem with the login because I don't understand which parameters I have to add to the request /xwiki/bin/login/XWiki/XWikiLogin
Cna someone help me??
I don't know jmeter, so there are 3 options: - if it can handle cookies, then visit /xwiki/bin/login/XWiki/XWikiLogin?j_username=Admin&j_password=admin&j_rememberme=true - if it can handle HTTP basic auth, then edit xwiki.cfg and change xwiki.authentication=form to xwiki.authentication=basic and configure jmeter to use Admin/admin on basic auth. - if none of these work, then allow XWikiGuest all rights on the wiki while testing. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Just for the record I've used jmeter in the past with no problem on xwiki. I don't recall my config though and it was at the time of XE 1.1 I think. -Vincent On Mar 18, 2008, at 4:36 PM, Sergiu Dumitriu wrote:
Raffaele Viola wrote:
Hi all,
I want to make some load test to xwiki using jmeter. I have a problem with the login because I don't understand which parameters I have to add to the request /xwiki/bin/login/XWiki/ XWikiLogin
Cna someone help me??
I don't know jmeter, so there are 3 options:
- if it can handle cookies, then visit /xwiki/bin/login/XWiki/XWikiLogin? j_username=Admin&j_password=admin&j_rememberme=true
- if it can handle HTTP basic auth, then edit xwiki.cfg and change xwiki.authentication=form to xwiki.authentication=basic and configure jmeter to use Admin/admin on basic auth.
- if none of these work, then allow XWikiGuest all rights on the wiki while testing.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Sergiu Dumitriu wrote:
Raffaele Viola wrote:
Hi all,
I want to make some load test to xwiki using jmeter. I have a problem with the login because I don't understand which parameters I have to add to the request /xwiki/bin/login/XWiki/XWikiLogin
Cna someone help me??
I don't know jmeter, so there are 3 options:
- if it can handle cookies, then visit /xwiki/bin/login/XWiki/XWikiLogin?j_username=Admin&j_password=admin&j_rememberme=true
- if it can handle HTTP basic auth, then edit xwiki.cfg and change xwiki.authentication=form to xwiki.authentication=basic and configure jmeter to use Admin/admin on basic auth.
- if none of these work, then allow XWikiGuest all rights on the wiki while testing.
It's better to load test XWiki with a 'normal' user and not an admin, since an admin spends less time in the rights code because he is allowed very quickly to do anything. Ludovic -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Hi! Sergiu Dumitriu-2 wrote:
- if it can handle cookies, then visit /xwiki/bin/login/XWiki/XWikiLogin?j_username=Admin&j_password=admin&j_rememberme=true
Sorry, I don't know what "to handle cookies" means here and I have no experience with jmeter, so perhaps this question is absurd. But I keep trying to understand how/if username and password can be passed to XWiki with an URL. I also keep following the related Jira issues. In this case, could I understand that the proposed string could be passed to XWiki to allow jmeter index its contents? Could this be used to grant access to a given document? Thanks for your help, Ricardo -- View this message in context: http://www.nabble.com/Xwiki-jmeter-test-tp16118635p16300454.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (6)
-
[Ricardo Rodriguez] Your EPEC Network ICT Team -
[Ricardo Rodríguez] -
Ludovic Dubost -
Raffaele Viola -
Sergiu Dumitriu -
Vincent Massol