aspose file tools*
The moose likes Testing and the fly likes issue in performance test cases. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "issue in performance test cases." Watch "issue in performance test cases." New topic
Author

issue in performance test cases.

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
we have written some performance test cases, the problem which we are facing is, ware setting the maxElapsedTime for each of test case, and for this we have created one annotation maxElapsedTime.
we are using jenkins to build the code.
the problem is, each time test case average time is different.
(ie. i have setted maxElapsedTime 10000ms, for one testcase, now when i build it it build successfully, but next time when i build it gets fail, and require more maxElapsedTime, than i need to again increase that time.
we are using continuous integration also, so it builds 3 or 4 times in the night and build gets failed due to this reason.
can anyone tell me ehy is this happening and how can i solve this?
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
please let me know any other information is needed?
can anyone think for this why is this happening?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Why this is happening is going to be specific to your code. All we can recommend is to set the threshold higher and profile/troubleshoot.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1000
    
    2
Jeanne Boyarsky wrote:Why this is happening is going to be specific to your code. All we can recommend is to set the threshold higher and profile/troubleshoot.


already setted 15% higher, you asking for more higher?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: issue in performance test cases.