[
https://jira.jboss.org/browse/GTNPORTAL-985?page=com.atlassian.jira.plugi...
]
Vu Viet Phuong updated GTNPORTAL-985:
-------------------------------------
Attachment: MultiThreadTest_JMeterScript.zip
If we create 6 pages with 1 user (1 session). Every pages are saved to jcr
If we create 6 pages with 2 user (2 sessions, concurrently, each session create 3 pages).
Just 3 or 4 pages are saved, and no exception is thrown
Everything seem ok util the call to PageTask.Save.run(POMSession session) . And it
delegate the call to org.exoplatform.portal.pom.data.Mapper.save(PageData src, Site site,
String name)
I put an system.out statement in Mapper and i saw in the console all 6 page names. But
after 6 calls to Mapper.save, just 3 or 4 pages were created
I think this is the multithread bug of chromattic or jcr
i've attached the JMeter script, to use this script, we must create 2 user :
user1/user123 and user2/user123 (userName/password) and add them to
/platform/administrator group
Many users can not add pages at once during Perf test
-----------------------------------------------------
Key: GTNPORTAL-985
URL:
https://jira.jboss.org/browse/GTNPORTAL-985
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.0.0-GA
Environment: IE7, FF3.5 - JBoss 5.1.0.GA- Java1.6.0-14
Reporter: Arthur Peltier
Attachments: MultiThreadTest_JMeterScript.zip
Original Estimate: 4 hours
Remaining Estimate: 4 hours
Steps:
- Create group and assign user to that group
- Create page by winzard
Scenarios:
- Run with 2 threads with the scripts with steps above by Jmeter
Result:
- 2 groups are created <-- it is ok
- Only 1 page is created <--- it is invalid.
The problem may be conflict of concurrence. Because when I run 1 user but with repeat
actions( steps by steps), many pages are created successfully. However, when many users
are run at once, only 1 page is created.
Expected :
- Able to add many pages at once with many v-users.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira