nearform
nearform / autocannon-ui Goto Github PK
View Code? Open in Web Editor NEWA graphical user interface for autocannon providing the same user experience
A graphical user interface for autocannon providing the same user experience
Simple version: https://www.figma.com/proto/f7DQ7Ev8Wk7MQKQehYphSP/Autocannon?node-id=19%3A1028&scaling=min-zoom&page-id=19%3A1027
Stateful version that retains a log of test runs: https://www.figma.com/proto/f7DQ7Ev8Wk7MQKQehYphSP/Autocannon?node-id=19%3A1587&scaling=min-zoom&page-id=0%3A1
I recommend using Material UI with theming as we've done in multiple other projects. E.g. brokeneck
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Is actually impossible to distinguish between a lot of requests or even different URL.
The Title (when and if available) or the UR Should be shown near the date.
Based on the following commits, a minor release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Unreleased commits have been found which are pending release, please publish the changes.
stale-days
have passed.Issue generated by github-actions-notify-release.
Adding some screenshots would help people understand what they are potentially using before having to go through all the motions of downloading, building etc...
Test run results should contain data visualization of HTTP statuses received, as this data is already provided by backend:
{
...
"errors": 0,
"timeouts": 0,
"mismatches": 0,
"non2xx": 61,
"resets": 0,
"1xx": 0,
"2xx": 0,
"3xx": 61,
"4xx": 0,
"5xx": 0,
"statusCodeStats": {
"302": {
"count": 61
}
},
...
}
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
It should be possible to also use other options provided by autocannon CLI.
While extending the options section it would be good to extract form validation logic into a separate component/hook.
E2E test fails due to a not existing selector
Steps to re-produce.
{
"url": "dgjhsdhgj",
"connections": 10,
"method": "POST",
"duration": "10",
"pipelining": 1
}
Expected Behaviour: API should return proper error message on passing wrong url parameters.
Expected response:
HTTP Status Code: 400
Error code: Bad Request Exception
Response Example:
{
"errorCode": "Bad Request"
"message": "Invalid value of url"
}
Observed Behaviour:
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
remove the optional github-token from cy.yml
https://github.com/fastify/github-action-merge-dependabot/releases/tag/v3.3.0
We can run the test with the same URL N
times, and it will generate a list with almost identical titles, the difference being the timestamp which is confusing.
We can add a number to each title to identify it better.
Steps to re-produce
Go to Postman and create the below POST request:
URL: http://localhost:3000/api/execute
Body:
{
"url": "https://www.bbc.co.uk/news",
"method": "POST",
"duration": "11",
"pipelining": 1
}
Expected Behaviour: API should validate that connection parameter is missing in the request.
Expected response:
HTTP Status Code: 400
Error code: Bad Request Exception
Response Example:
{
"errorCode": "Bad Request"
"message": "Connection parameter is missing"
}
Observed Behaviour: Received 200 OK status with below response:
{
"url": "https://www.bbc.co.uk/news",
"connections": 10,
"pipelining": 1,
"duration": 11.01,
"start": "2021-05-14T14:31:05.348Z",
"finish": "2021-05-14T14:31:16.360Z",
"errors": 0,
"timeouts": 0,
"mismatches": 0,
"non2xx": 0,
"resets": 0,
"1xx": 0,
"2xx": 310,
"3xx": 0,
"4xx": 0,
"5xx": 0,
"statusCodeStats": {
"200": {
"count": 310
}
},
Cancel for a request should be sent to the server and FE should wait for it.
At the moment if you start a request with a lot of connection and cancel it, only FE will abort and it is impossible to start a new request until the server has finished, and FE doesn't know when is finished.
Use lerna to publish packages to npm so to allow 2 usage scenarios:
npm i -g autocannon-ui-desktop
autocannon-ui-desktop
npm i -g <sensible package name>
(e.g. autocannon-ui-web)<sensible package name>
, which will start the server on a default port, print it to the console and tell you to navigate to http://localhost:To configure lerna for publishing, inspire from brokeneck / graphql-hooks
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Hi everyone!
I'm unable to use localhost as URL in autocannon-ui:
The same URL in CLI works perfectly:
I think that the problem lies here:
https://github.com/nearform/autocannon-ui/blob/master/packages/autocannon-ui-backend/routes/execute.js#L7
Details on PR
Simplify use of this package:
npx autocannon-ui
In short, when being on a machine which does not have anything autocannon related, enable running autocannon by running only npx autocannon-ui
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Let's have an Electron app to run the UI.
We did something similar in https://github.com/nearform/brokeneck/, check out how it's done there.
Based on the following commits, a minor release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Steps to re-produce
Go to Postman and create the below POST request:
URL: http://localhost:3000/api/execute
Body:
{
"url": "https://www.bbc.co.uk/news",
"connections": 10,
"duration": "10",
"pipelining": 1
}
Expected Behaviour: API should validate that method parameter is missing in the request.
Expected response:
HTTP Status Code: 400
Error code: Bad Request Exception
Response Example:
{
"errorCode": "Bad Request"
"message": "Method parameter is missing"
}
Observed Behaviour: Received 200 OK status with below response:
result: {
"url": "https://www.bbc.co.uk/news",
"connections": 10,
"pipelining": 1,
"duration": 11.03,
"start": "2021-05-14T14:19:25.973Z",
"finish": "2021-05-14T14:19:37.002Z",
"errors": 0,
"timeouts": 0,
"mismatches": 0,
"non2xx": 0,
"resets": 0,
"1xx": 0,
"2xx": 309,
"3xx": 0,
"4xx": 0,
"5xx": 0,
"statusCodeStats": {
"200": {
"count": 309
}
},
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Based on the following commits, a minor release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Options should be saved in browser local storage (and loaded from that storage during UI init), so that they do not go back to defaults every page refresh.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Integration with beta NPM Provenance integration when publishing new versions to NPM registry.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
Unreleased commits have been found which are pending release, please publish the changes.
stale-days
have passed.Issue generated by github-actions-notify-release.
Based on the following commits, a patch release is recommended.
Unreleased commits have been found which are pending release, please publish the changes.
Issue generated by github-actions-notify-release.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.