pyresttest icon indicating copy to clipboard operation
pyresttest copied to clipboard

feat: ext

Open alswl opened this issue 7 years ago • 1 comments

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'}

alswl avatar Jun 30 '17 07:06 alswl

Can one of the admins verify this patch?

svanoort-jenkins avatar Jun 30 '17 07:06 svanoort-jenkins