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

fix: should not parse the response body if it is not JSON format #218

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

LinuxSuRen
Copy link
Owner

No description provided.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

There are 20 test cases:

API Average Max Min Count Error
POST http://localhost:8080/server.Runner/GetTestSuite 4.433829ms 4.433829ms 4.433829ms 1 0
POST http://localhost:8080/server.Runner/ConvertTestSuite 4.257023ms 4.257023ms 4.257023ms 1 0
gRPC 127.0.0.1:7070/server.Runner/GetVersion 3.876563ms 4.79484ms 2.958286ms 2 0
gRPC 127.0.0.1:7070/server.Runner/FunctionsQueryStream 2.983586ms 3.384698ms 2.582474ms 2 0
POST http://localhost:8080/server.Runner/CreateTestSuite 2.427571ms 2.427571ms 2.427571ms 1 0
gRPC 127.0.0.1:7070/server.Runner/FunctionsQuery 2.164362ms 2.463371ms 1.865354ms 2 0
POST http://localhost:8080/server.Runner/ListTestCase 2.145862ms 2.371769ms 1.919956ms 2 0
POST http://localhost:8080/server.Runner/FunctionsQuery 2.08306ms 2.08306ms 2.08306ms 1 0
POST http://localhost:8080/server.Runner/ListConverter 1.953957ms 1.953957ms 1.953957ms 1 0
POST http://localhost:8080/server.Runner/GetTestCase 1.72515ms 1.72515ms 1.72515ms 1 0
POST http://localhost:8080/server.Runner/GetSuggestedAPIs 1.415341ms 1.415341ms 1.415341ms 1 0
POST http://localhost:8080/server.Runner/GenerateCode 1.391241ms 1.391241ms 1.391241ms 1 0
POST http://localhost:8080/server.Runner/GetSecrets 1.252037ms 1.252037ms 1.252037ms 1 0
POST http://localhost:8080/server.Runner/GetSuites 1.238536ms 1.238536ms 1.238536ms 1 0
POST http://localhost:8080/server.Runner/DeleteTestSuite 1.134783ms 1.518244ms 751.322µs 2 0
POST http://localhost:8080/server.Runner/PopularHeaders 1.05173ms 1.05173ms 1.05173ms 1 0
POST http://localhost:8080/server.Runner/GetVersion 888.826µs 888.826µs 888.826µs 1 0
POST http://localhost:8080/server.Runner/UpdateTestSuite 820.424µs 820.424µs 820.424µs 1 0
POST http://localhost:8080/server.Runner/ListCodeGenerator 810.523µs 810.523µs 810.523µs 1 0
POST http://localhost:8080/server.Runner/GetStores 643.718µs 643.718µs 643.718µs 1 0

@LinuxSuRen LinuxSuRen added the bug Something isn't working label Sep 22, 2023
@codacy-production
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.02% 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8483fbb) 5571 4671 83.85%
Head commit (09c3aa6) 5575 (+4) 4673 (+2) 83.82% (-0.02%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#218) 9 9 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@LinuxSuRen LinuxSuRen merged commit 58905fd into master Sep 22, 2023
@LinuxSuRen LinuxSuRen deleted the fix/only-parse-resp-json branch September 22, 2023 05:52
LinuxSuRen pushed a commit that referenced this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant