
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Run Http requests list in excel sheet
Install excel-runner v0.1.2
pip install excel-runner==0.1.2
Create excel data file data.xlsx
name | method | url | data | headers | verify | result |
---|---|---|---|---|---|---|
get请求 | get | https://httpbin.org/get?a=1&b=2 | res.status_code==200 | |||
post-form | post | https://httpbin.org/post | name=Kevin&age=1 | Content-Type: application/x-www-form-urlencoded | res.status_code==200 res.json()['form']['name']=='Kevin'] | |
post-json | post | https://httpbin.org/post | {"name": "Kevin", "age": 1} | Content-Type: application/json | ||
post-xml | post | https://httpbin.org/post | hello | Content-Type: application/xml | result.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
name | method | url | data | headers | verify | result |
---|---|---|---|---|---|---|
get请求 | get | https://httpbin.org/get?a=1&b=2 | res.status_code==200 | PASS | ||
post-form | post | https://httpbin.org/post | name=Kevin&age=1 | Content-Type: application/x-www-form-urlencoded | res.status_code==200 res.json()['form']['name']=='Kevin'] | PASS |
post-json | post | https://httpbin.org/post | {"name": "Kevin", "age": 1} | Content-Type: application/json | PASS | |
post-xml | post | https://httpbin.org/post | hello | Content-Type: application/xml | result.json()["data"]=="hello" | PASS |
FAQs
Excel http api test
We found that excel-runner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.