DevopsArtFactory / goployer

AWS Deployer with Go
https://goployer.dev
Apache License 2.0
72 stars 13 forks source link

add header to api test #112

Closed GwonsooLee closed 3 years ago

GwonsooLee commented 3 years ago

Add header section to api test

api_test_templates:
  - name: api-test
    duration: 5s
    request_per_second: 10
    apis:
      - method: GET
        url: http://localhost:8080
      - method: POST
        url: http://localhost:8080/post
        body:
          - id=198355
          - username=dayone
          - test=test
      - method: Get
        url: http://localhost:8080/check-headers
        header:
          - Authorization=bearer eyadsfJhbGc1NiIs6Ik...
          - username=dayone
          - test=test
codecov[bot] commented 3 years ago

Codecov Report

Merging #112 into main will decrease coverage by 0.02%. The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##            main    #112      +/-   ##
========================================
- Coverage   6.01%   5.99%   -0.03%     
========================================
  Files         24      24              
  Lines       3409    3421      +12     
========================================
  Hits         205     205              
- Misses      3193    3205      +12     
  Partials      11      11              
Impacted Files Coverage Δ
pkg/deployer/deployer.go 0.00% <0.00%> (ø)
pkg/tool/common.go 10.16% <0.00%> (-1.16%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 302957c...abca601. Read the comment docs.