Skip to main content

X automated test platform command line client

Project description

X ATP CLI Client

X automated test platform command line client

Sweetest of X ATP

X Sweetest is a secondary development project for Sweetest according to the Mozilla Public License Version 2.0 agreement.

v0.1.6 change

Change content in keywords/http.py file to resolve issue that the 杈撳嚭鏁版嵁 field does not support [{'id':1},{'id':2}] format Json return value.

        elif v == 'text':
            g.var[k] = response['text']
            logger.info('%s: %s' % (k, repr(g.var[k])))
        elif k == 'json':
            sub_str = output.get('json', '{}')
            if sub_str[0] == '[':
                index = sub_str.split(']')[0][1:]
                sub = json2dict(sub_str[len(index)+2:])
                result = check(sub, response['json'][int(index)])
            else:
                sub = json2dict(output.get('json', '{}'))
                result = check(sub, response['json'])
            # logger.info('Compare json result: %s' % result)
            var = dict(var, **result['var'])
            g.var = dict(g.var, **result['var'])
            logger.info('json var: %s' % (repr(result['var'])))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

x-atp-cli-0.1.6.tar.gz (118.2 kB view details)

Uploaded Source

File details

Details for the file x-atp-cli-0.1.6.tar.gz.

File metadata

  • Download URL: x-atp-cli-0.1.6.tar.gz
  • Upload date:
  • Size: 118.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for x-atp-cli-0.1.6.tar.gz
Algorithm Hash digest
SHA256 4e16da3e57dab8e81c212d9c5dbd71eba40b87a779b8b25d42fb6878ae344fd7
MD5 4bf8e2d1a2c219e21d4740ed8bbb5ad7
BLAKE2b-256 ff2c81c6b1f55c8383eca74ed689c55e2f325bc7f4160fe787a2a963ec47910e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page