diff --git a/tests/pyrest_tests/follow_api/follow_api_benchmark.yaml b/tests/pyrest_tests/follow_api/follow_api_benchmark.yaml index 9d9bbb9165a13b9b51b7e5b2ebfc1b319e36ede4..3a2534c8f0a5abb08886038f71ec42845bad8dc1 100644 --- a/tests/pyrest_tests/follow_api/follow_api_benchmark.yaml +++ b/tests/pyrest_tests/follow_api/follow_api_benchmark.yaml @@ -20,4 +20,74 @@ - metrics: - total_time - total_time: mean - - total_time: median \ No newline at end of file + - total_time: median + + - benchmark: + - name: "get_followers" + - variable_binds: + - method: "get_followers" + - args: {"account":"steemit","start":null,"type":"blog","limit":10} + - <<: *base_benchmark + + - benchmark: + - name: "get_following" + - variable_binds: + - method: "get_following" + - args: {"account":"steemit","start":null,"type":"blog","limit":10} + - <<: *base_benchmark + + - benchmark: + - name: "get_follow_count" + - variable_binds: + - method: "get_follow_count" + - args: {"account":"steemit"} + - <<: *base_benchmark + + - benchmark: + - name: "get_account_reputations" + - variable_binds: + - method: "get_account_reputations" + - args: {"account_lower_bound": "steem"} + - <<: *base_benchmark + + - benchmark: + - name: "get_blog" + - variable_binds: + - method: "get_blog" + - args: {"account":"steemit","start_entry_id":0,"limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_blog_entries" + - variable_binds: + - method: "get_blog_entries" + - args: {"account":"steemit","start_entry_id":0,"limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_reblogged_by" + - variable_binds: + - method: "get_reblogged_by" + - args: {"author":"steemit","permlink":"firstpost"} + - <<: *base_benchmark + + - benchmark: + - name: "get_feed_entries" + - variable_binds: + - method: "get_feed_entries" + - args: {"account":"steemit","start_entry_id":0,"limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_feed" + - variable_binds: + - method: "get_feed" + - args: {"account":"steemit","start_entry_id":0,"limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_blog_authors" + - variable_binds: + - method: "get_blog_authors" + - args: {"blog_account":"steemit"} + - <<: *base_benchmark \ No newline at end of file diff --git a/tests/pyrest_tests/follow_api/follow_api_test.yaml b/tests/pyrest_tests/follow_api/follow_api_test.yaml index cf1b56221e49a84028fd0e2176173584f1807099..468bd5cdc044cbda147fa5564a631999a2d394f9 100644 --- a/tests/pyrest_tests/follow_api/follow_api_test.yaml +++ b/tests/pyrest_tests/follow_api/follow_api_test.yaml @@ -24,68 +24,68 @@ - name: "get_followers" - variable_binds: - method: "get_followers" - - args: {} + - args: {"account":"steemit","start":null,"type":"blog","limit":10} - <<: *base_test - test: - name: "get_following" - variable_binds: - method: "get_following" - - args: {} + - args: {"account":"steemit","start":null,"type":"blog","limit":10} - <<: *base_test - test: - name: "get_follow_count" - variable_binds: - method: "get_follow_count" - - args: {} + - args: {"account":"steemit"} - <<: *base_test - test: - name: "get_account_reputations" - variable_binds: - method: "get_account_reputations" - - args: {} + - args: {"account_lower_bound": "steem"} - <<: *base_test - test: - name: "get_blog" - variable_binds: - method: "get_blog" - - args: {} + - args: {"account":"steemit","start_entry_id":0,"limit":1} - <<: *base_test - test: - name: "get_blog_entries" - variable_binds: - method: "get_blog_entries" - - args: {} + - args: {"account":"steemit","start_entry_id":0,"limit":1} - <<: *base_test - test: - name: "get_reblogged_by" - variable_binds: - method: "get_reblogged_by" - - args: {} + - args: {"author":"steemit","permlink":"firstpost"} - <<: *base_test - test: - name: "get_feed_entries" - variable_binds: - method: "get_feed_entries" - - args: {} + - args: {"account":"steemit","start_entry_id":0,"limit":1} - <<: *base_test - test: - name: "get_feed" - variable_binds: - method: "get_feed" - - args: {} + - args: {"account":"steemit","start_entry_id":0,"limit":1} - <<: *base_test - test: - name: "get_blog_authors" - variable_binds: - method: "get_blog_authors" - - args: {} + - args: {"blog_account":"steemit"} - <<: *base_test \ No newline at end of file diff --git a/tests/pyrest_tests/tags_api/tags_api_benchmark.yaml b/tests/pyrest_tests/tags_api/tags_api_benchmark.yaml index 9d9bbb9165a13b9b51b7e5b2ebfc1b319e36ede4..8158dc1d32cd05c4edbe2116876a4b774f0b98bb 100644 --- a/tests/pyrest_tests/tags_api/tags_api_benchmark.yaml +++ b/tests/pyrest_tests/tags_api/tags_api_benchmark.yaml @@ -20,4 +20,130 @@ - metrics: - total_time - total_time: mean - - total_time: median \ No newline at end of file + - total_time: median + + - benchmark: + - name: "get_discussion" + - variable_binds: + - method: "get_discussion" + - args: {"author":"steemit", "permlink":"firstpost"} + - <<: *base_benchmark + + - benchmark: + - name: "get_content_replies" + - variable_binds: + - method: "get_content_replies" + - args: {"author":"steemit", "permlink":"firstpost"} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_trending" + - variable_binds: + - method: "get_discussions_by_trending" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_hot" + - variable_binds: + - method: "get_discussions_by_hot" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_promoted" + - variable_binds: + - method: "get_discussions_by_promoted" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_created" + - variable_binds: + - method: "get_discussions_by_created" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_blog" + - variable_binds: + - method: "get_discussions_by_blog" + - args: {"tag":"steemit","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_comments" + - variable_binds: + - method: "get_discussions_by_comments" + - args: {"start_author":"steemit","start_permlink":"firstpost","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_author_before_date" + - variable_binds: + - method: "get_discussions_by_author_before_date" + - args: {"author":"steemit","start_permlink":"firstpost","before_date":"2016-04-19T22:49:43","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_post_discussions_by_payout" + - variable_binds: + - method: "get_post_discussions_by_payout" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_comment_discussions_by_payout" + - variable_binds: + - method: "get_comment_discussions_by_payout" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_active_votes" + - variable_binds: + - method: "get_active_votes" + - args: {"author":"steemit", "permlink":"firstpost"} + - <<: *base_benchmark + + - benchmark: + - name: "get_tags_used_by_author" + - variable_binds: + - method: "get_tags_used_by_author" + - args: {"author":"steemit"} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_active" + - variable_binds: + - method: "get_discussions_by_active" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_cashout" + - variable_binds: + - method: "get_discussions_by_cashout" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_votes" + - variable_binds: + - method: "get_discussions_by_votes" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_discussions_by_children" + - variable_binds: + - method: "get_discussions_by_children" + - args: {"tag":"steem","limit":1} + - <<: *base_benchmark + + - benchmark: + - name: "get_account_votes" + - variable_binds: + - method: "get_account_votes" + - args: {"account":"steemit"} + - <<: *base_benchmark \ No newline at end of file diff --git a/tests/pyrest_tests/tags_api/tags_api_test.yaml b/tests/pyrest_tests/tags_api/tags_api_test.yaml index 48871eaf8a4ca7b024920d4e17d6880fb48be47a..0050a9be8159e5a9bfcd7d6bce1f63a16a049436 100644 --- a/tests/pyrest_tests/tags_api/tags_api_test.yaml +++ b/tests/pyrest_tests/tags_api/tags_api_test.yaml @@ -24,124 +24,124 @@ - name: "get_discussion" - variable_binds: - method: "get_discussion" - - args: {} + - args: {"author":"steemit", "permlink":"firstpost"} - <<: *base_test - test: - name: "get_content_replies" - variable_binds: - method: "get_content_replies" - - args: {} + - args: {"author":"steemit", "permlink":"firstpost"} - <<: *base_test - test: - name: "get_discussions_by_trending" - variable_binds: - method: "get_discussions_by_trending" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_discussions_by_hot" - variable_binds: - method: "get_discussions_by_hot" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_discussions_by_promoted" - variable_binds: - method: "get_discussions_by_promoted" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_discussions_by_created" - variable_binds: - method: "get_discussions_by_created" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_discussions_by_blog" - variable_binds: - method: "get_discussions_by_blog" - - args: {} + - args: {"tag":"steemit","limit":1} - <<: *base_test - test: - name: "get_discussions_by_comments" - variable_binds: - method: "get_discussions_by_comments" - - args: {} + - args: {"start_author":"steemit","start_permlink":"firstpost","limit":1} - <<: *base_test - test: - name: "get_discussions_by_author_before_date" - variable_binds: - method: "get_discussions_by_author_before_date" - - args: {} + - args: {"author":"steemit","start_permlink":"firstpost","before_date":"2016-04-19T22:49:43","limit":1} - <<: *base_test - test: - name: "get_post_discussions_by_payout" - variable_binds: - method: "get_post_discussions_by_payout" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_comment_discussions_by_payout" - variable_binds: - method: "get_comment_discussions_by_payout" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_active_votes" - variable_binds: - method: "get_active_votes" - - args: {} + - args: {"author":"steemit", "permlink":"firstpost"} - <<: *base_test - test: - name: "get_tags_used_by_author" - variable_binds: - method: "get_tags_used_by_author" - - args: {} + - args: {"author":"steemit"} - <<: *base_test - test: - name: "get_discussions_by_active" - variable_binds: - method: "get_discussions_by_active" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_discussions_by_cashout" - variable_binds: - method: "get_discussions_by_cashout" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_discussions_by_votes" - variable_binds: - method: "get_discussions_by_votes" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_discussions_by_children" - variable_binds: - method: "get_discussions_by_children" - - args: {} + - args: {"tag":"steem","limit":1} - <<: *base_test - test: - name: "get_account_votes" - variable_binds: - method: "get_account_votes" - - args: {} + - args: {"account":"steemit"} - <<: *base_test \ No newline at end of file