pyresttest
pyresttest copied to clipboard
feat: ext
add 3 extentions:
- file_choice_generator: choose a random line from a file
- file_seq_generator: choose files by sequence
- extracotr_cookie: extract cookie from HTTP header
How to use:
- generators:
- 'albumId': {type: 'file_choice', values: 'albumId.txt'}
- extract_binds:
- 'user_id': {'jsonpath_mini': 'data.user.id'}
- 'sessionid': {'cookie': 'sessionid'}
Can one of the admins verify this patch?