first.tavern.yaml 781 Bytes
Newer Older
1
2
3
4
5
6
7
---
  test_name: Hivemind condenser_api.get_blog_entries patterns test

  marks:
    - patterntest

  includes:
8
    - !include ../../common.yaml
9
10
11
12

  stages:
    - name: get_blog_entries
      request:
13
        url: "{service.proto:s}://{service.server:s}:{service.port}/"
14
15
16
17
18
19
20
21
22
23
24
25
26
        method: POST
        headers:
          content-type: application/json
        json:
          jsonrpc: "2.0"
          id: 1
          method: "condenser_api.get_blog_entries"
          params: {"account":"steemit","start_entry_id":0,"limit":1}
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:compare_response_with_pattern
          extra_kwargs:
27
28
            method: "first"
            directory: "condenser_api_patterns/get_blog_entries"
29