Need details on DEVTEST SvAsCode for .net applications
search cancel

Need details on DEVTEST SvAsCode for .net applications

book

Article ID: 282389

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

 Need details on using SvAsCode for .net applications , and also need information on creating SSL based services and live pass through services using SvAsCode. 

Environment

All supported releases

Cause

N/A

Resolution

DevTestVirtualServiceV3 API is now included and this has option to add SSL

  //DevTestVirtualServiceV3 annotation which uses V3 capabilities  
   @DevTestVirtualServiceV3(
            serviceName = "vsV3_SSLConfig",
            description = "Created with annotation provided for function vsV3_RRPairConfigObject",
            port = "24778",
            workingFolder = "v3/rrpair",
            inputFile2 = "operation-8-req.txt",
            inputFile1 = "operation-8-rsp.txt",
            transportProtocolConfig = @TransportProtocolConfig(
                    typeId = "HTTP",
                    useGateway = false,
                    hostHeaderPassThrough = true,
                    recordingEndpoint = @RecordingEndpointConfig(
                            host = "recordinghost",
                            useSSL = true,
                            sslConfig = @SSLConfig (
                                    keystorePassword = "passphrase",
                                    keystoreFile = "/Applications/CA/DevTest/webreckeys.ks",
                                    aliasPassword = "passphrase",
                                    alias = "lisa"
                            )
                    )
            )
    )	

 

please download the latest Version :  devtest-unit-test-java:1.4.0

You have to click on Release to get the libraries and examples