Hi,
I use Jackrabbit v2.1.1, and try to make some loadtests on it with
Loadrunner.
First I make the script - see the attachment File0_5.c. It contains 3
operation: upload a file, download it, and delete it.
The script use a counter which is incremented before every running, so the
file names are identical. (The file is the same, but the name is identical.)
If I test with 10 users, it is Okay, but with 25 user, I had multiple
exceptions like ItemNotFoundException, RepositoryException.
NoSuchItemStateException, InvalidItemStateException - See the details in
attachment errorLogWith3FileOperation.log
After this test, I found some test file in my repository. (In normal case
there won`t be any file left, because the last method delete them.) I can
download them, and open them, they looks fine.
After these results I changed my script: I commented out the download, and
delete section. I run the test again, and I had RepositoryException.
ItemStateException. - See the details in attachment
errorLogWithUploadOnly.log
I checked the repository and the files which are mentioned in the Exception
messages missing.
The jackrabbit is deployed in a weblogic 10.3.1 appserver, the
persistenceManager is an Oracle 10g, the operating system is RedHat Linux,
5.5.
Somebody has similar problem with jackrabbit? Known solution to avoid these
problems?
Thanks,
Szilard Szabo
File0_5()
{
lr_start_transaction("File0_5M_tr1");
web_set_user("core",
lr_decrypt("4c7e4aa63c22f4c508f9d220"),
"{host}:{port}");
web_custom_request("DAVExplorer-latest{threadvar}.zip",
"URL=http://{host}:{port}{url}/DAVExplorer-latest{threadvar}.zip",
"Method=PUT",
"Resource=1",
"Referer=",
body_variable_1,
LAST);
lr_think_time(10);
web_custom_request("core",
"URL=http://{host}:{port}{url}",
"Method=PROPFIND",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t5.inf",
"Mode=HTML",
"Body=<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?><d:propfind xmlns:d=\"DAV:\"><d:prop><d:getlastmodified/><d:getcontentlength/><d:getcontenttype/><d:resourcetype/><d:getetag/><d:lockdiscovery/></d:prop></d:propfind>",
EXTRARES,
"Url=DAVExplorer-latest{threadvar}.zip", "Referer=", ENDITEM,
LAST);
// lr_think_time(10);
web_custom_request("DAVExplorer-latest.zip",
"URL=http://{host}:{port}{url}/DAVExplorer-latest{threadvar}.zip",
"Method=DELETE",
"Resource=0",
"Referer=",
LAST);
lr_end_transaction("File0_5M_tr1",LR_AUTO);
return 0;
}