You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Due to PostmanLocationType protobuf field being an enum, we want to be able to assign the string value of the enum to the field without needing to create another Protobuf field.
120
-
// To have the "UNKNOWN_POSTMAN = 0" value be assigned correctly to the field, we need to check if the Postman workspace ID is filled since every secret in the Postman source
121
-
// should have a valid workspace ID and the 0 value is considered nil for integers.
122
-
ifm["Postman"]["workspace_uuid"] !=nil {
120
+
// To have the "UNKNOWN_POSTMAN = 0" value be assigned correctly to the field, we need to check if the Postman workspace ID or collection ID is filled since every secret
121
+
// in the Postman source should have a valid workspace ID or collection ID and the 0 value is considered nil for integers.
// TODO Note: for now, links to Postman responses do not include a more granular tab for the params/header/body, but when they do, we will need to update the metadata.Link info
t.Errorf("Rate limiting not working as expected. Elapsed time: %v seconds, expected at least %v seconds", elapsed.Seconds(), (float64(numRequests)-1)/5)
// The purpose of the TestSource_HeadersScanning test is to check that at least one of the fields HeaderKeyValue or HeaderString are non-null after unmarshalling and that chunks can
385
+
// be generated from them.
386
+
funcTestSource_HeadersScanning(t*testing.T) {
387
+
defergock.Off()
388
+
// Mock a collection with request and response headers of KeyValue type
0 commit comments