一些问题请教(批量执行脚本、maven集成等)

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

一些问题请教(批量执行脚本、maven集成等)

zyyuyu123
请教下:
1、能批量执行脚本么?
2、能周期性的执行,比如每天凌晨2点执行
3、怎样和jenkins集成呢?
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

junoyoon
Administrator
请教下:
1、能批量执行脚本么?
==> You can run the test though rest api. https://github.com/naver/ngrinder/wiki/REST-API
2、能周期性的执行,比如每天凌晨2点执行
==> Yes.. if you use above rest api.
3、怎样和jenkins集成呢?
==> You can run ngrinder test though rest api but you can not see the result in jenkins. (there are no plugin)
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

zyyuyu123
3ky,very useful.

and where can i see the every testcase result in report(such as testcase name、tps、response) ,if one test inlucde many testcase.

by the way,the nGrinders tools very simple and useful.hope getting better and better
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

junoyoon
Administrator

and where can i see the every testcase result in report(such as testcase name、tps、response) ,if one test inlucde many testcase.
==> You should set the sampling rate more than 3 sec. We don't provide the separate test case result when the sampling rate is small due to the result size.
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

zyyuyu123
3k,  I have used rest api to some test,it's great. but I want to only execute the the same perf test every time,not clone. but now there is one way by call param -- xx/perftest/api/xx/clone_and_start , can adjust to only call the single param "start" ? it's really Easy to do things.
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

junoyoon
Administrator
try like below.

curl -u your_id:password -d "testName=aa&status=READY&duration=60000&vuserPerAgent=2&agentCount=1&scriptName=your_script_path" http://your_host/perftest/api


The important param is status... it should be 'status=READY'.

By the way, you can use Chinese. I can read it.


2016-05-12 21:41 GMT+09:00 zyyuyu123 [via ngrinder] <[hidden email]>:
3k,  I have used rest api to some test,it's great. but I want to only execute the the same perf test every time,not clone. but now there is one way by call param -- xx/perftest/api/xx/clone_and_start , can adjust to only call the single param "start" ? it's really Easy to do things.


If you reply to this email, your message will be added to the discussion below:
http://ngrinder.642.n7.nabble.com/maven-tp1962p1966.html
To start a new topic under ngrinder-user-cn, email [hidden email]
To unsubscribe from ngrinder-user-cn, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

junoyoon
Administrator
By the way, nGrinder are used in China much? Actually it was firstly developed by Naver China guys. :-)
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

zyyuyu123
中国这边,个人所知,商业loadrunner用得多,开源jmeter用的多,ngrinder估计将来会用得多
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

yu.zhai
In reply to this post by junoyoon
hi,你好,能不能在可视化页面上,加个批量执行的触发,这样对于定期执行的task,就可以批量触发了
Reply | Threaded
Open this post in threaded view
|

Re: 一些问题请教(批量执行脚本、maven集成等)

taohuang
In reply to this post by junoyoon
学习了