Skip to content

Commit ca3f611

Browse files
committed
update user_parameters to show example with xml widget insert into request payload
1 parent b7dfc72 commit ca3f611

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

examples/user_parameters.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33

44
test do
55
# user parameters with multiple values
6-
visit name: 'Home Page', url: 'https://flooded.io/' do
6+
post name: 'oauth', url: 'https://flooded.io/api/oauth', raw_body: '${token}' do
7+
user_parameters names: ['token'],
8+
thread_values: {
9+
user_1: [
10+
'<xml>fidget widget</xml>'
11+
]
12+
}
13+
714
user_parameters names: ['name1', 'name2'],
815
thread_values: {
916
user_1: [
@@ -18,4 +25,4 @@
1825
},
1926
per_iteration: true
2027
end
21-
end.run(path: '/usr/share/jmeter/bin/', gui: true)
28+
end.run(path: '/usr/local/share/jmeter-3.1/bin/', gui: true)

0 commit comments

Comments
 (0)