Skip to content

Commit f95e5b3

Browse files
committed
Merge branch '5-pabot' into main
2 parents d50b847 + 0c1c5a5 commit f95e5b3

File tree

2 files changed

+129
-0
lines changed

2 files changed

+129
-0
lines changed

pabot/input.csv

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
*** Test Cases ***,${id}
2+
1,1
3+
2,2
4+
3,3
5+
4,4
6+
5,5
7+
6,6
8+
7,7
9+
8,8
10+
9,9
11+
10,10
12+
11,11
13+
12,12
14+
13,13
15+
14,14
16+
15,15
17+
16,16
18+
17,17
19+
18,18
20+
19,19
21+
20,20
22+
21,21
23+
22,22
24+
23,23
25+
24,24
26+
25,25
27+
26,26
28+
27,27
29+
28,28
30+
29,29
31+
30,30
32+
31,31
33+
32,32
34+
33,33
35+
34,34
36+
35,35
37+
36,36
38+
37,37
39+
38,38
40+
39,39
41+
40,40
42+
41,41
43+
42,42
44+
43,43
45+
44,44
46+
45,45
47+
46,46
48+
47,47
49+
48,48
50+
49,49
51+
50,50
52+
51,51
53+
52,52
54+
53,53
55+
54,54
56+
55,55
57+
56,56
58+
57,57
59+
58,58
60+
59,59
61+
60,60
62+
61,61
63+
62,62
64+
63,63
65+
64,64
66+
65,65
67+
66,66
68+
67,67
69+
68,68
70+
69,69
71+
70,70
72+
71,71
73+
72,72
74+
73,73
75+
74,74
76+
75,75
77+
76,76
78+
77,77
79+
78,78
80+
79,79
81+
80,80
82+
81,81
83+
82,82
84+
83,83
85+
84,84
86+
85,85
87+
86,86
88+
87,87
89+
88,88
90+
89,89
91+
90,90
92+
91,91
93+
92,92
94+
93,93
95+
94,94
96+
95,95
97+
96,96
98+
97,97
99+
98,98
100+
99,99
101+
100,100

pabot/test_parallel_api.robot

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
*** Settings ***
2+
Documentation
3+
... pabot --processes 10 --pabotlib --testlevelsplit pabot/test_parallel_api.robot
4+
Library RequestsLibrary
5+
Library DataDriver dialect=unix file=input.csv
6+
7+
Test Template Create and read content
8+
Suite Setup Setup Session
9+
10+
11+
*** Variables ***
12+
${LOCAL_HTTP_URL} http://localhost:5000
13+
14+
15+
*** Test Cases ***
16+
Create and read content ${id} from local server
17+
18+
19+
*** Keywords ***
20+
Create and read content
21+
[Arguments] ${id}
22+
POST On Session local_httpbin /anything/${id}
23+
Sleep 0.1
24+
GET On Session local_httpbin /anything/${id}
25+
26+
27+
Setup Session
28+
Create Session local_httpbin ${LOCAL_HTTP_URL}

0 commit comments

Comments
 (0)