-
Notifications
You must be signed in to change notification settings - Fork 14
Sample Run
Nitin Kumar Agarwal edited this page Jan 5, 2014
·
30 revisions
- Loader installation comes along with couple of sample performance run schemas by default. You can find them under "Click Run Schemas Menu -> Click Search Sub Menu -> Select Sample Business Unit"
2. For run Schema "SampleHttpGetFor10000Times" select "execute" under "Actions" label. This Performance Run is intended to hit a url(loader-agent self url) 10000 times, using 2 threads with controlled 50 TPS. [Will go into these details in a bit](http://localhost:9999/updaterun.html?&runName=SampleHttpGetFor10000Times).
3. Once you have clicked you would land on Job Detail Page. ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/jobDetail/SampleHttpGetFor10000TimesJobDetailPage.png)
4) **Check Graphical Report** Click on Reports Button ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/report/ReportPage.png)
When you need to create performance run schema with only one functionality say Http Get, then you can mak use of quick builder ui
- Go to Quick Builder : Run -> Quick Builder
2) **Select Your Function : perf.operation.http.function.HttpGet** ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/quickBuilder/SelectFunctionOnQuickBuilder.png)
3) **Fill Input Parameters **
url : http://localhost:8888/loader-agent/jobs (sample loader-agent internal url to hit) Repeats : 10000 (How many times you want to hit the url)![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/quickBuilder/FillParamsQuickBuilder.png)
4) **Click Create** ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/quickBuilder/ClickCreateQuickBuilder.png)
5) **Search Just Created Run Schema** Run -> Search ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/searchRun/SearchRunSchema.png)
6) **Go to Run Details Page** Click on execute option ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/searchRun/ClickExecute.png)
7) **Do Performance Run** Once having clicked you would lane on Job Detail Page ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/jobDetail/JobDetailPageStatusRunning.png)
8) **Check Graphical Report** Click on Reports Button ![Alt Image](https://github.com/Flipkart/loader2.0/raw/master/images/report/ReportPage.png)