Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 2mln_blocks_test
  • abw_rshares_experiment
  • bridge_get_account_posts
  • bw_ci_validating_test
  • bw_list_comments_by_permlink_opt_patterns
  • dk-5e6-patterns
  • dk-database-api-tests-001
  • dk-diff-log
  • dk-fix-order-in-some-tests
  • dk-follow-item-overwrite-fix
  • dk-follow-refactor
  • dk-functional-example
  • dk-list-votes-pre24
  • dk-mock-follow-tests
  • dk-mock-follow-tests-2
  • dk-mock-vops-tests
  • dk-pytest-benchmark
  • follow_api_tests
  • get_accounts
  • get_blog_entries
  • get_ranked_posts
  • issue_37_trend_and_hot
  • jsalyers-more-blacklist-updates
  • klesniak-api-tests-pyresttests
  • km_hafah_MR15
  • km_issue_151_revert
  • kmochocki/add-slow-call
  • kmochocki/ci
  • kmochocki/hivemind-testing
  • kudmich/prepare_tavern_tests_to_working_with_postgrest
  • master
  • mi_correct_notif_cache_update
  • mi_mention_date_changed
  • mi_notifications_in_cache
  • mi_test_for_bridge_get_ranked_posts
  • msochacki_tests
  • mt-47
  • mt-find-list-votes
  • mt-further-pids-refactoring
  • mt-further-pids-refactoring-old
  • mt-get-pids-fix
  • mt-get-profile-new-patterns
  • mt-grayed
  • mt-lack-of-post-forces-empty-pattern
  • mt-list-comments-fix
  • mt-main-unit
  • mt-pids-performance-refactoring
  • mz-hivemind-benchmark-parser
  • pczempiel_community
  • pczempiel_date_changes
  • pczempiel_new_tests
  • pmaniora_account_notifications_tests
  • pmaniora_communities_sql
  • pmaniora_community_fixes
  • pmaniora_fullsync_slow_calls
  • pmaniora_new_tests
  • request-execution-time
  • revert-36610d67
  • tmp
59 results

Target

Select target project
  • hive/tests_api
1 result
Select Git revision
  • 2mln_blocks_test
  • abw_rshares_experiment
  • bridge_get_account_posts
  • bw_ci_validating_test
  • bw_list_comments_by_permlink_opt_patterns
  • dk-5e6-patterns
  • dk-database-api-tests-001
  • dk-diff-log
  • dk-fix-order-in-some-tests
  • dk-follow-item-overwrite-fix
  • dk-follow-refactor
  • dk-functional-example
  • dk-list-votes-pre24
  • dk-mock-follow-tests
  • dk-mock-follow-tests-2
  • dk-mock-vops-tests
  • dk-pytest-benchmark
  • follow_api_tests
  • get_accounts
  • get_blog_entries
  • get_ranked_posts
  • issue_37_trend_and_hot
  • jsalyers-more-blacklist-updates
  • klesniak-api-tests-pyresttests
  • km_hafah_MR15
  • km_issue_151_revert
  • kmochocki/add-slow-call
  • kmochocki/ci
  • kmochocki/hivemind-testing
  • kudmich/prepare_tavern_tests_to_working_with_postgrest
  • master
  • mi_correct_notif_cache_update
  • mi_mention_date_changed
  • mi_notifications_in_cache
  • mi_test_for_bridge_get_ranked_posts
  • msochacki_tests
  • mt-47
  • mt-find-list-votes
  • mt-further-pids-refactoring
  • mt-further-pids-refactoring-old
  • mt-get-pids-fix
  • mt-get-profile-new-patterns
  • mt-grayed
  • mt-lack-of-post-forces-empty-pattern
  • mt-list-comments-fix
  • mt-main-unit
  • mt-pids-performance-refactoring
  • mz-hivemind-benchmark-parser
  • pczempiel_community
  • pczempiel_date_changes
  • pczempiel_new_tests
  • pmaniora_account_notifications_tests
  • pmaniora_communities_sql
  • pmaniora_community_fixes
  • pmaniora_fullsync_slow_calls
  • pmaniora_new_tests
  • request-execution-time
  • revert-36610d67
  • tmp
59 results
Show changes
Commits on Source (37)
Showing
with 293 additions and 0 deletions
......@@ -14,3 +14,6 @@
/hived/tavern_run/.tox
/hived/tavern_run/hive.egg-info
/hived/tavern_run/tests
/hived/tavern_run/version.py
/hived/tavern_run/advanced_benchmark.json
/hived/tavern_run/r_advanced_benchmark.json
{
"accounts": [
[
"gtg"
]
]
}
---
test_name: Hived account_history_api get_key_references
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: account_history_api get_key_references
request:
url: "{service.url:s}"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "account_by_key_api.get_key_references"
params: {"keys":["STM5tp5hWbGLL1R3tMVsgYdYxLPyAQFdKoYFbT2hcWUmrU42p1MQC"]}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "gtg"
directory: "account_by_key_api_patterns/get_key_references"
{
"accounts": [
[
"gtg"
],
[
"alibaba",
"amazon",
"citibank",
"dan",
"ebay",
"grumpymutt",
"hsbc",
"jpmorgan",
"ned-scott",
"softbank",
"steemit1",
"troller",
"ukon",
"walmart"
],
[
"ben",
"bitdev100",
"buysbd",
"imadev"
],
[
"silver"
]
]
}
---
test_name: Hived account_history_api get_key_references
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: account_history_api get_key_references
request:
url: "{service.url:s}"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "account_by_key_api.get_key_references"
params: {"keys":[
"STM5tp5hWbGLL1R3tMVsgYdYxLPyAQFdKoYFbT2hcWUmrU42p1MQC",
"STM7sw22HqsXbz7D2CmJfmMwt9rimtk518dRzsR1f8Cgw52dQR1pR",
"STM5ya7Y8XKBRuWL2uL8NsSnB691cCzca87Ho9MXaPZ1ZYdGaJBBc",
"STM8epVc3pAcL44kvfvntsQGWVAyeQmFKC9nFdbPFYW1fCEg4sM14"
]}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "multiple"
directory: "account_by_key_api_patterns/get_key_references"
{
"accounts": [
[
"steemit1"
]
]
}
---
test_name: Hived account_history_api get_transaction unknown
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: account_history_api get_transaction unknown
request:
url: "{service.url:s}"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "account_by_key_api.get_key_references"
params: {"keys":["STM5jZtLoV8YbxCxr4imnbWn61zMB24wwonpnVhfXRmv7j6fk3dTH"]}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "steemit1"
directory: "account_by_key_api_patterns/get_key_references"
\ No newline at end of file
......@@ -26,3 +26,4 @@
extra_kwargs:
method: "first100k"
directory: "account_history_api_patterns/enum_virtual_ops"
ignore_tags: ['operation_id']
\ No newline at end of file
......@@ -26,3 +26,4 @@
extra_kwargs:
method: "default_val"
directory: "account_history_api_patterns/get_account_history"
ignore_tags: ['history']
\ No newline at end of file
......@@ -26,3 +26,4 @@
extra_kwargs:
method: "only_account"
directory: "account_history_api_patterns/get_account_history"
ignore_tags: ['history']
\ No newline at end of file
......@@ -26,3 +26,4 @@
extra_kwargs:
method: "only_limit"
directory: "account_history_api_patterns/get_account_history"
ignore_tags: ['history']
\ No newline at end of file
{
"block": {
"block_id": "000f4240e8f91385f7bff8f5aeebddc9b14e4281",
"extensions": [],
"previous": "000f423f974857674873d93d1909e0eeb7e4916e",
"signing_key": "STM67P2LhV4FCvk2y6sQjNTnp6b1MVTKnftw2mLE2Vxf89Vdn7xYG",
"timestamp": "2016-04-29T04:12:00",
"transaction_ids": [],
"transaction_merkle_root": "0000000000000000000000000000000000000000",
"transactions": [],
"witness": "abit",
"witness_signature": "1f72bd3f4b06e7dc6b156729f0fd7873163814972eecea9d77cb29bae11d0fea3865c814d11a58e818c2494ce19f4c3d4c3e17eab3b1465ebccb102c52c56472c0"
}
}
---
test_name: Hived block_api.get_block milion
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: block_api.get_block milion
request:
url: "{service.url:s}"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "block_api.get_block"
params: {"block_num": 1000000}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "milion"
directory: "block_api_patterns/get_block"
{}
---
test_name: Hived block_api.get_block non existing
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: block_api.get_block non existing
request:
url: "{service.url:s}"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "block_api.get_block"
params: {"block_num": 1000000000}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "non_existing"
directory: "block_api_patterns/get_block"
{
"block": {
"block_id": "0000000109833ce528d5bbfb3f6225b39ee10086",
"extensions": [],
"previous": "0000000000000000000000000000000000000000",
"signing_key": "STM8GC13uCZbP44HzMLV6zPZGwVQ8Nt4Kji8PapsPiNq1BK153XTX",
"timestamp": "2016-03-24T16:05:00",
"transaction_ids": [],
"transaction_merkle_root": "0000000000000000000000000000000000000000",
"transactions": [],
"witness": "initminer",
"witness_signature": "204f8ad56a8f5cf722a02b035a61b500aa59b9519b2c33c77a80c0a714680a5a5a7a340d909d19996613c5e4ae92146b9add8a7a663eef37d837ef881477313043"
}
}
---
test_name: Hived block_api.get_block
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: block_api.get_block
request:
url: "{service.url:s}"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "block_api.get_block"
params: {"block_num": 1}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "one"
directory: "block_api_patterns/get_block"
{
"header": {
"extensions": [],
"previous": "000f423f974857674873d93d1909e0eeb7e4916e",
"timestamp": "2016-04-29T04:12:00",
"transaction_merkle_root": "0000000000000000000000000000000000000000",
"witness": "abit"
}
}
---
test_name: Hived block_api.get_block_header milion
marks:
- patterntest
includes:
- !include ../../common.yaml
stages:
- name: block_api.get_block milion
request:
url: "{service.url:s}"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "block_api.get_block_header"
params: {"block_num": 1000000}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "milion"
directory: "block_api_patterns/get_block_header"