-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.http
30 lines (29 loc) · 886 Bytes
/
test.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
### Registration Test
POST http://localhost:8080/api/jsonws/#.#/#
Authorization: Basic default@liferay.com:password
@random = {{$randomInt 0 9999}}
{
"password1": "Password1!",
"password2": "Password1!",
"screenName": "TEST{{random}}",
"emailAddress": "testEmail{{random}}",
"firstName": "test",
"lastName": "test",
"male": true,
"birthdayMonth": "{{$randomInt 0 11}}",
"birthdayDay": "{{$randomInt 0 28}}",
"birthdayYear": "{{$randomInt 1950 2000}}",
"billingAddress": {
"street1": "Test Street {{$randomInt 0 9999}}",
"street2": "string",
"city": "Test City",
"regionId": 20,
"countryId": 20,
"zip": 55555
},
"homePhone": "",
"mobilePhone": "",
"agreedToTerms": true,
"securityQuestion": "What's your mom's maiden name?",
"securityAnswer": "Mom"
}