Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Eclipse Java Testing Tools - JAVA SE and JSP(I need some information about Eclipse Java Testing Tools)
icon5.gif  Eclipse Java Testing Tools - JAVA SE and JSP [message #780063] Tue, 17 January 2012 05:22 Go to next message
Marco Antonio Cintra is currently offline Marco Antonio CintraFriend
Messages: 10
Registered: January 2012
Junior Member
Hello everyone,


I have 2 java systems: one is a JAVA SE project and the other is a JSP project. I need to know good tools or plugins for Eclipse/Java to various types of testing (stress, unit, regression, system).

Thank you very much!

Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781255 is a reply to message #780063] Fri, 20 January 2012 21:42 Go to previous messageGo to next message
STTR   is currently offline STTR Friend
Messages: 9
Registered: January 2012
Location: Other side
Junior Member
:: JRunner.cmd begin
:: Save in you default system code page
:: Default CP866, Russian code page in Windows
:: Винтовки Мосина, я думаю, вас не заинтересуют. (с)Брат 2.
@ECHO OFF
@CLS
:: wait interval
@SET waitsec=15
:: repeat count
@SET RunCount=3
@ECHO.
:: generate log file name, save name in logfile variable
@IF "%time:~0,1%" GTR "0" SET logfile=log%DATE:~-4%-%DATE:~3,2%-%DATE:~0,2%@%TIME:~0,2%.%TIME:~3,2%.%TIME:~6,2%.csv
@IF "%time:~0,1%" LSS "0" SET logfile=log%DATE:~-4%-%DATE:~3,2%-%DATE:~0,2%@0%TIME:~1,1%.%TIME:~3,2%.%TIME:~6,2%.csv

::-----------------------------------------------------------------------------
::
@setlocal enabledelayedexpansion
:: declared variable constant type of integer
:: объявляем переменную константу целого типа
@SET /I /A CountID=0
:: init Count
:: инициализация Count при помощи ECHO
@ECHO %CountID%>Nul
::-----------------------------------------------------------------------------
@SET /I /A CountR=0
@SET /I /A CountP=0
@SET /I /A CountA=0
@SET /I /A CountJ=0

@ECHO %CountA%>Nul
@ECHO %CountP%>Nul
@ECHO %CountR%>Nul
@ECHO %CountJ%>Nul
::-----------------------------------------------------------------------------

:: appset.txt - application name option and setting
:: example:
:: -jar dacapo-9.12-bach.jar eclipse
:: argset.txt -
:: example:
:: -server -XX:-DoEscapeAnalysis -XX:+EliminateLocks -XX:-UseBiasedLocking -XX:GCTimeLimit=25 -XX:+AggressiveOpts
:: jvmapp.txt - JVM name, JVM path
:: example:
:: JRE16u30x86,C:\App32\Java\jre6\bin\java

@IF "%time:~0,1%" GTR "0" @ECHO Run time: %DATE:~-4%-%DATE:~3,2%-%DATE:~0,2% %TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%>>%logfile%
@IF "%time:~0,1%" LSS "0" @ECHO Run time: %DATE:~-4%-%DATE:~3,2%-%DATE:~0,2% 0%TIME:~1,1%:%TIME:~3,2%:%TIME:~6,2%>>%logfile%

@REM '!CountID!','%%P','!CountP!','%%A','!CountA!','%%J','!CountJ!','!CountR!'>>%logfile%
@ECHO 'CountID','APP','AppID','Options','OptionsID','JVM','JVMiD','RunCountID'>>%logfile%

FOR /L %%R IN (1,1,%RunCount%) DO (
@ SET /A CountR+=1
SET /A CountP=0
SET /A CountA=0
SET /A CountJ=0

FOR /F "tokens=* delims= " %%P IN (appset.txt) DO (
@ SET /A CountP+=1
SET /A CountA=0
SET /A CountJ=0
FOR /F "tokens=* delims= " %%A IN (argset.txt) DO (
@ SET /A CountA+=1
SET /A CountJ=0
FOR /F "tokens=1,2 delims=," %%J IN (jvmapp.txt) DO (
@ SET /A CountJ+=1

@REM --------------------------------------------------------------------------
@REM :: - such comment causes errors in cycle FOR ... don't use it
@REM wait initialization of variable all cycles, IF "!CountID!"=="!CountID!" guarantees it.
@REM 2>&1 - redirection of a conclusion from STDERR in STDOUT
@REM In the test dacapo-9.12-bach.jar part which shows time, gets in STDERR

@REM :: - такой комментарий вызывает ошибки в цикле FOR ... не пользуемся
@REM Тут мы ждем инициализацию переменных всех циклов, а гарантирует это IF "!CountID!"=="!CountID!"
@REM 2>&1 это перенаправление вывода из STDERR в STDOUT,
@REM в тесте dacapo-9.12-bach.jar его часть которая показывает время, попадает в STDERR

@ IF "!CountID!"=="!CountID!" %%K %%A %%P>>%logfile% 2>&1
@ ECHO %%J
@ SET /A CountID+=1
@ ECHO ID: !CountID!
@ECHO '!CountID!','%%P','!CountP!','%%A','!CountA!','%%J','!CountJ!','!CountR!'>>%logfile%
@REM --------------------------------------------------------------------------

@REM wait JVM and OS cache clear
@REM пауза для JVM и ОС
@choice /T %waitsec% /N /D y /M "wait %waitsec% sec"
)
)
)

)

:: save end time of Test
@IF "%time:~0,1%" GTR "0" @ECHO End time: %DATE:~-4%-%DATE:~3,2%-%DATE:~0,2% %TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%>>%logfile%
@IF "%time:~0,1%" LSS "0" @ECHO End time: %DATE:~-4%-%DATE:~3,2%-%DATE:~0,2% 0%TIME:~1,1%:%TIME:~3,2%:%TIME:~6,2%>>%logfile%

:: JRunner.cmd end

log5conv2012-01-20@03.42.16.xlsx - sample result file.
PS-06FileString.zip - Powershell script - custom it.
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781273 is a reply to message #781255] Fri, 20 January 2012 22:07 Go to previous messageGo to next message
Marco Antonio Cintra is currently offline Marco Antonio CintraFriend
Messages: 10
Registered: January 2012
Junior Member
I do not understand what you said.
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781284 is a reply to message #781273] Fri, 20 January 2012 22:27 Go to previous messageGo to next message
STTR   is currently offline STTR Friend
Messages: 9
Registered: January 2012
Location: Other side
Junior Member
use
JRunner.cmd
Attachment: appset.txt
Attachment: argset.txt
Attachment: jvmapp.txt
  • Attachment: JRunner.cmd
    (Size: 2.19KB, Downloaded 569 times)
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781287 is a reply to message #781284] Fri, 20 January 2012 22:33 Go to previous messageGo to next message
Marco Antonio Cintra is currently offline Marco Antonio CintraFriend
Messages: 10
Registered: January 2012
Junior Member
Well, you showed to me the JRunner tool, right? So i will study it.

Thanks.
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781292 is a reply to message #781287] Fri, 20 January 2012 22:42 Go to previous messageGo to next message
STTR   is currently offline STTR Friend
Messages: 9
Registered: January 2012
Location: Other side
Junior Member
Yes.
May be your need HP LoadRunner?
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781295 is a reply to message #781292] Fri, 20 January 2012 22:47 Go to previous messageGo to next message
Marco Antonio Cintra is currently offline Marco Antonio CintraFriend
Messages: 10
Registered: January 2012
Junior Member
Seems that HP LoadRunner is a performance testing tool. Ok, this works with Java SE and JSP? If yes, i will test it. Thanks.
But i need tools for the various types of testing. If you know where i could get this type of information, I would appreciate.
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781301 is a reply to message #781295] Fri, 20 January 2012 23:02 Go to previous messageGo to next message
STTR   is currently offline STTR Friend
Messages: 9
Registered: January 2012
Location: Other side
Junior Member
see 4AA1-3191ENW.pdf
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781303 is a reply to message #781301] Fri, 20 January 2012 23:04 Go to previous messageGo to next message
Marco Antonio Cintra is currently offline Marco Antonio CintraFriend
Messages: 10
Registered: January 2012
Junior Member
Ok, this is not what i want, but thanks.
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781311 is a reply to message #781303] Fri, 20 January 2012 23:37 Go to previous messageGo to next message
STTR   is currently offline STTR Friend
Messages: 9
Registered: January 2012
Location: Other side
Junior Member
IBM Rational Functional Tester?

Write sample Test Plan. What a result and data you need see?
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781316 is a reply to message #781311] Fri, 20 January 2012 23:48 Go to previous messageGo to next message
Marco Antonio Cintra is currently offline Marco Antonio CintraFriend
Messages: 10
Registered: January 2012
Junior Member
Well, i would like to know the popular testing tools for JSP and JAVA SE systems. I would like of regresion testing, functional, stress, usability, performance, unit, etc.
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781351 is a reply to message #781316] Sat, 21 January 2012 02:29 Go to previous messageGo to next message
STTR   is currently offline STTR Friend
Messages: 9
Registered: January 2012
Location: Other side
Junior Member
TPTP
http://www.ibm.com/developerworks/opensource/tutorials/os-ecl-tptp/section2.html
http://www.ibm.com/developerworks/opensource/tutorials/os-ecl-tptp2/
http://www.ibm.com/developerworks/opensource/tutorials/os-ecl-tptp3/
http://www.eclipse.org/tptp/
http://www.ibm.com/developerworks/opensource/tutorials/os-eclipse-arm/section5.html

JUnit
http://www.youtube.com/watch?v=iZJLcWU6tpM
http://www.youtube.com/watch?v=uw7AdhMDQOI&feature=related
http://www.youtube.com/watch?v=3ocq3lBRxuo&feature=related
http://www.youtube.com/watch?v=AeuDxrNPQKE&feature=related

Visualvm 1.3.3
http://visualvm.java.net/
http://netbeans.dzone.com/articles/what-java-visualvm
http://www.youtube.com/watch?v=dUQqmnmCBbg

IBM Rational Application Developer
http://www.ibm.com/developerworks/rational/tutorials/profilingjavaapplicationsusingrad/section7.html
http://www.ibm.com/developerworks/rational/tutorials/profilingjavaapplicationsusingrad/profilingjavaapplicationsusingrad-pdf.pdf
http://www.youtube.com/watch?v=gScRcg3eS9s
http://www.youtube.com/watch?v=tBBAxVE1jMM
http://www.youtube.com/watch?v=9OSsYzxAeV8
http://www.youtube.com/watch?v=VyPQ0jy7rbk
http://www.youtube.com/watch?v=J4IuBCsr02s

HP LoadRunner 11 Java over HTTP Protocol
http://www.youtube.com/watch?v=cr4RUlIOVOw
http://www.youtube.com/watch?v=ilBxRJ7Cozs&feature=related

Borland SilkPerformer
http://www.borland.com/us/products/silk/silkperformer/
http://www.youtube.com/watch?v=WQIRuRpJIsk
http://www.youtube.com/watch?v=_X0I8J4Xhu8

Java GUI Testing using Maveryx
http://www.youtube.com/watch?v=rSE8kpa-ErY

Performance Test
dacapo-9.12-bach.jar
http://sourceforge.net/projects/dacapobench/files/
http://dacapobench.org/
dacapo-9.12-bach.jar eclipse JRE, JDK 64, 32 my testing result
https://skydrive.live.com/view.aspx?cid=4CD1B952A2640E72&resid=4CD1B952A2640E72%21486

Java Benchmark SPECjvm2008
http://www.spec.org/download.html

Memory Analyzer
http://vimeo.com/21356498
https://www.ibm.com/developerworks/community/groups/service/html/communityview?communityUuid=4544bafe-c7a2-455f-9d43-eb866ea60091
http://www.ibm.com/developerworks/java/jdk/tools/iema/
http://www.ibm.com/developerworks/websphere/techjournal/1103_supauth/1103_supauth.html
http://www.ibm.com/developerworks/java/library/j-memoryanalyzer/index.html

IBM developer kits
http://www.ibm.com/developerworks/java/jdk/tools/

MS Visual Studio ALM theoretical aspects
http://www.youtube.com/watch?v=ABd1B3UwMdQ&feature=results_main&playnext=1&list=PLDA5B5871D39727EF

Application Lifecycle Management
http://www.youtube.com/watch?v=F863hQbzm_4&feature=related
http://www.youtube.com/user/IBMRational?blend=14&ob=5
http://www.youtube.com/watch?v=BP2bMkGxU-E
http://www.youtube.com/watch?v=85-BtdCRbxc

TOSCA
http://www.youtube.com/watch?v=NOhnRozQ5Pg
http://tricentis.com/de
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781356 is a reply to message #781351] Sat, 21 January 2012 02:52 Go to previous messageGo to next message
Marco Antonio Cintra is currently offline Marco Antonio CintraFriend
Messages: 10
Registered: January 2012
Junior Member
Wow. Where did you get so many links? It seems you like a lot of performance testing tools. 99% of these are performance testing.

Well, thank you, I really found interesting videos from the links on JUnit and TPTP / Eclipse.

I also found the www.opensourcetesting.org and http://www.softwareqatest.com/qatweb1.html sites, that have a large number of testing tools.

Thanks!
Re: Eclipse Java Testing Tools - JAVA SE and JSP [message #781372 is a reply to message #781356] Sat, 21 January 2012 03:51 Go to previous message
STTR   is currently offline STTR Friend
Messages: 9
Registered: January 2012
Location: Other side
Junior Member
I glad.
See http://www.eclipse.org/forums/index.php/m/781371/#msg_781371
May it help too.)
Previous Topic:problem using TPTP in the standalone mode
Next Topic:Running JUnit 4 tests organised with inner classes
Goto Forum:
  


Current Time: Sat Apr 20 05:00:54 GMT 2024

Powered by FUDForum. Page generated in 0.05661 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top