Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Performance] Add support to use SSL certs for load testing. #8023

Merged
merged 7 commits into from
Jul 5, 2023

Conversation

MUzairS15
Copy link
Contributor

Notes for Reviewers

This PR fixes #7952

Signed commits

  • Yes, I signed my commits.

Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
@MUzairS15 MUzairS15 added area/performance Features/bugs having to do with Performance Management component/ui User Interface component/server pr/draft WIP/Draft pull request and removed component/ui User Interface component/server labels Jul 1, 2023
@github-actions
Copy link

github-actions bot commented Jul 1, 2023

@MUzairS15
Copy link
Contributor Author

One or two items are to be completed before merging.

@github-actions
Copy link

github-actions bot commented Jul 1, 2023

This PR has been labeled with 'component/ui'. 🧰 Here are docs on Contributing to Meshery UI. 🎨 Here is the Meshery UI Figma File File. Lastly, here are docs on Contributing to Meshery's End-to-End Tests Using Cypress


        Be sure to join the community, if you haven't yet and please leave a ⭐ star on the project 😄

Signed-off-by: Mohd Uzair <muzair.shaikh810@gmail.com>
@MUzairS15
Copy link
Contributor Author

// @leecalcote

@leecalcote
Copy link
Member

This is for Fortio only, it modifies the performance profile to be able to capture and associate a single file, right?

@MUzairS15
Copy link
Contributor Author

MUzairS15 commented Jul 1, 2023

Yes and use them while load testing, to my knowledge nighthawk doesn’t support this.

Copy link
Member

@gyohuangxin gyohuangxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this feature, I leave some comments.

server/handlers/load_test_handler.go Outdated Show resolved Hide resolved
Comment on lines +186 to +190
When "cert" query param is set the body contains self-signed certs
and not the SMP config, hence we shouldn't use SMP Handler,
if query param is unset/not present presence of body
if values have been passed as body we run test using SMP Handler
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add "cert" as a param in the SMP config?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MUzairS15 Good!

Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.03 ⚠️

Comparison is base (26e3ae4) 5.23% compared to head (db544e1) 5.20%.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #8023      +/-   ##
=========================================
- Coverage    5.23%   5.20%   -0.03%     
=========================================
  Files         124     124              
  Lines       17473   17548      +75     
=========================================
  Hits          914     914              
- Misses      16387   16462      +75     
  Partials      172     172              
Flag Coverage Δ
e2etests ?
gointegrationtests 5.20% <0.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
server/handlers/error.go 0.00% <0.00%> (ø)
server/handlers/load_test_handler.go 0.00% <0.00%> (ø)
server/handlers/performance_profiles_handler.go 0.00% <0.00%> (ø)
server/helpers/load_test_interface.go 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
@MUzairS15
Copy link
Contributor Author

@abhi eslint is failing, how do I fix make ui-lint didn't report any error.

@vishalvivekm
Copy link
Member

@MUzairS15 Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)

@MUzairS15 MUzairS15 removed the pr/draft WIP/Draft pull request label Jul 5, 2023
Signed-off-by: Mohd Uzair <muzair.shaikh810@gmail.com>
@MUzairS15 MUzairS15 merged commit f33e324 into meshery:master Jul 5, 2023
19 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance Features/bugs having to do with Performance Management component/server component/ui User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to upload certificates in performance profile.
4 participants