作者 bianxinhua

add README

... ... @@ -5,8 +5,10 @@ variables:
name: 测试竞标任务名称${get_nowtime()}
acceptanceCriteria: 测试竞标任务的验收标准${get_nowtime()}
description: 测试竞标任务的任务描述${get_nowtime()}
bidStartTime: ${get_today()}
bidStartTime: ${get_today1()}
bidEndTime: ${get_tomorrow()}
id: ${get_resource_id()}
serial: ${get_serialNo()}
msg: ok
teardown_hooks:
- ${teardown_hook_get_bid_task_id($response)}
... ... @@ -24,10 +26,10 @@ request:
name: $name
resourceType: 1
resourceList:
- id: ${get_resource_id()}
- id: ${convert_to_number($id)}
title: ${get_resource_title()}
content: ${get_resource_content()}
serial: ${get_serialNo()}
serial: ${convert_to_number($serial)}
customerValue:
- 31
taskCharactor: 12
... ... @@ -37,7 +39,7 @@ request:
isImportant: true
taskBelong: 13
isRemind: true
# pictures:
pictures:
method: POST
url: task/bid/update
validate:
... ...
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvcHdkTG9naW4iLCJpYXQiOjE1OTkxMTc5ODAsImV4cCI6MTU5OTEyODc4MCwibmJmIjoxNTk5MTE3OTgwLCJqdGkiOiJ0dldjWndHOWpLVFh4WXBuIiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.5le6az3YARC-ZP3Uym92K9IwPtKjFbiwN8tZF2aX4Xw
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1Ni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IsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.rt3wdIr2YFcYjZjpXuBCqqYSfL8ia_ofS29CtzZl5Fg
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtYnVzaW5lc3MtYWRtaW4tZ2F0ZXdheS10ZXN0LmZqbWFpbWFpbWFpLmNvbVwvYXV0aFwvYW5vbnltb3VzTG9naW4iLCJpYXQiOjE1OTkyMTI2MzUsImV4cCI6MTU5OTIyMzQzNSwibmJmIjoxNTk5MjEyNjM1LCJqdGkiOiJ1NUNlTW1JSDZuMkVHSk9WIiwic3ViIjozMjQ4ODE3NjEzNjgxNjY0LCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIiwiY29tcGFueUlkIjozNjYsIm5pY2tuYW1lIjoiXHU4Yzc5XHU1YjUwXHU1OTM0IiwicGhvbmUiOiIxOTk5MDAwMDAwOCIsImlkIjozMjQ4ODE3NjEzNjgxNjY0LCJhZG1pblR5cGUiOjF9.j76Qpfry0R1z7C5bbdvukssAKAnuCw7MLw6GVCqw58g
\ No newline at end of file
... ...
ysbfuexqbrb
\ No newline at end of file
4cefey2fnvf
\ No newline at end of file
... ...
1ad12e2680e7833bf77feaa9bb1f02e66b1b6aa17b13c019420f864cf34b520fac9956e0
\ No newline at end of file
117007d714adf33db6d2653d903ebf2d6b4bf903f89df2011b5a29a5ff8bdabe06c56e1d
\ No newline at end of file
... ...
GS3oekoZEnYJMuCekvInSC5XvZXVD+ipuFpWJytJLrepJXECA4YaT8a+2AalGBlKLVSP70Ss70w73d28v95g4/7aM2Lzejo8aYb8Jrmvjs20rDMwqY9r/awiw8gZuID52/7f2Tl6nq+VVzJTc5KTvI8NZ9qsovGdoXXORaRNtnA=
\ No newline at end of file
G4fjAqY/WpcBPjYfZI8qL1pOCpbox/efS8zvtw+sgmmsB1z9TmCfhBfntbtY6wJSqcmG5ae8OzR+KaJtnXCCQVb7fQCxJj/vF1PmYbhE64DbnBjU1H14Kx/lamaYI8vSgJvEXFhSPPGKxeyymVQOf/7lice1kwVxd4ahH6n+YSI=
\ No newline at end of file
... ...
мֵ18
\ No newline at end of file
мֵ52
\ No newline at end of file
... ...
3274993621020928
\ No newline at end of file
3275187474030848
\ No newline at end of file
... ...
мֵ18
\ No newline at end of file
мֵ52
\ No newline at end of file
... ...
11029
\ No newline at end of file
11038
\ No newline at end of file
... ...
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk5MTE3OTgxLCJleHAiOjE1OTkxMjg3ODEsIm5iZiI6MTU5OTExNzk4MSwianRpIjoiUlU0RzVSRkFRenYyWlYyaSIsInN1YiI6MzI0ODgxNzYxMzY4MTY2NCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1OGM3OVx1NWI1MFx1NTkzNCIsInBob25lIjoiMTk5OTAwMDAwMDgiLCJ1aWQiOjMyNDg4MTc2MTM2ODE2NjQsImFkbWluVHlwZSI6Mn0.5eXGpnIHhI71V2ek9QIhIyI-gxktFeh26YQMTJcHSv8
\ No newline at end of file
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9zdXBsdXMtd29ydGgtd2ViLWdhdGV3YXktdGVzdC5mam1haW1haW1haS5jb21cL2F1dGhcL2xvZ2luIiwiaWF0IjoxNTk5MjEyNjM1LCJleHAiOjE1OTkyMjM0MzUsIm5iZiI6MTU5OTIxMjYzNSwianRpIjoieTVoSU5Qb3FkR2pBOEFvcSIsInN1YiI6MzI0ODgxNzYxMzY4MTY2NCwicHJ2IjoiODdlMGFmMWVmOWZkMTU4MTJmZGVjOTcxNTNhMTRlMGIwNDc1NDZhYSIsImNvbXBhbnlJZCI6MzY2LCJuaWNrbmFtZSI6Ilx1OGM3OVx1NWI1MFx1NTkzNCIsInBob25lIjoiMTk5OTAwMDAwMDgiLCJ1aWQiOjMyNDg4MTc2MTM2ODE2NjQsImFkbWluVHlwZSI6Mn0.J9c3Ks0u4Q4ZCt7UJWLyQK8NqdYCTYKgA0seAdVqoaM
\ No newline at end of file
... ...
... ... @@ -22,7 +22,7 @@ def convert_to_string(value):
def convert_to_number(value):
return int(value)
# print(type(convert_to_number(get_resource_id())))
# def get_base_url(env_type="test"):
# """
# 根据配置选择运行环境
... ... @@ -46,3 +46,7 @@ def get_tomorrow():
td = datetime.timedelta(days=1)
tomorrow = (datetime.datetime.utcnow() + td).isoformat()
return tomorrow
def get_today1():
td = datetime.timedelta(days=0)
tomorrow = (datetime.datetime.utcnow() + td).isoformat()
return tomorrow
... ...
... ... @@ -12,6 +12,7 @@ from datetime import *
def get_today():
today = datetime.now(timezone.utc).astimezone().isoformat()
return today
# 获得连接
def GetConnect():
conn = False
... ...