New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

excel-runner

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

excel-runner

Excel http api test

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

excel-runner

Run Http requests list in excel sheet

how to use

Install excel-runner v0.1.2

pip install excel-runner==0.1.2

Create excel data file data.xlsx

namemethodurldataheadersverifyresult
get请求gethttps://httpbin.org/get?a=1&b=2res.status_code==200
post-formposthttps://httpbin.org/postname=Kevin&age=1Content-Type: application/x-www-form-urlencodedres.status_code==200
res.json()['form']['name']=='Kevin']
post-jsonposthttps://httpbin.org/post{"name": "Kevin", "age": 1}Content-Type: application/json
post-xmlposthttps://httpbin.org/posthelloContent-Type: application/xmlresult.json()["data"]=="hello"

Run excel data file

from excel_runner import run_excel

run_excel('data.xlsx')

Open data.xlsx again, you will see the test result

namemethodurldataheadersverifyresult
get请求gethttps://httpbin.org/get?a=1&b=2res.status_code==200PASS
post-formposthttps://httpbin.org/postname=Kevin&age=1Content-Type: application/x-www-form-urlencodedres.status_code==200
res.json()['form']['name']=='Kevin']
PASS
post-jsonposthttps://httpbin.org/post{"name": "Kevin", "age": 1}Content-Type: application/jsonPASS
post-xmlposthttps://httpbin.org/posthelloContent-Type: application/xmlresult.json()["data"]=="hello"PASS

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc