Documentation ¶
Index ¶
Constants ¶
View Source
const HTTPTestPath = "test/path"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCase ¶
type TestCase struct { AppProtocol types.ProtocolName MeshProtocol types.ProtocolName C chan error T *testing.T AppServer util.UpstreamServer ClientMeshAddr string ServerMeshAddr string Finish chan bool }
func NewTestCase ¶
func NewTestCase(t *testing.T, app, mesh types.ProtocolName, server util.UpstreamServer) *TestCase
func (*TestCase) RunCase ¶
mesh to mesh use tls if "istls" is true client do "n" times request, interval time (ms)
func (*TestCase) StartProxy ¶
func (c *TestCase) StartProxy()
client - mesh - server not support tls ignore parameter : mesh protocol
type XTestCase ¶ added in v0.11.0
type XTestCase struct { TestCase SubProtocol types.ProtocolName }
XProtocol case, should use sub-protocol
func NewXTestCase ¶ added in v0.11.0
func NewXTestCase(t *testing.T, subProtocol types.ProtocolName, server util.UpstreamServer) *XTestCase
func (*XTestCase) RunCase ¶ added in v0.11.0
mesh to mesh use tls if "istls" is true client do "n" times request, interval time (ms)
func (*XTestCase) StartProxy ¶ added in v0.11.0
func (c *XTestCase) StartProxy()
client - mesh - server not support tls ignore parameter : mesh protocol
Click to show internal directories.
Click to hide internal directories.