Service Virtualization

 View Only

Logs getting written in Load test when incoming request is in compressed format

  • 1.  Logs getting written in Load test when incoming request is in compressed format

    Posted Feb 27, 2020 05:57 PM
    Hi Team- Create a virtual service for load test- REST API with the delay of 1.5s. But when load test is running, we see high response time always and observed some of the warnings getting written in VSE logs. Here is a snapshot for same. I am not sure how to handle this warning so that it should not write any thing in logs and think performance will be better . We had some 98 tps and set the capacity of 400. 


    020-02-27 22:15:38,165Z (17:15) [VS_Retail_API_Ancillary-Backend-Bag-Offer-Post-Purchase_New_PT_V2.0 [VS_VS_Retail_API_Ancillary-Backend-Bag-Offer-Post-Purchase_New_PT_V2.0_Run]/693] WARN  com.ca.devtest.util.compression.CompressionUtils - Unable to decompress data020-02-27 22:15:38,165Z (17:15) [VS_Retail_API_Ancillary-Backend-Bag-Offer-Post-Purchase_New_PT_V2.0 [VS_VS_Retail_API_Ancillary-Backend-Bag-Offer-Post-Purchase_New_PT_V2.0_Run]/693] WARN  com.ca.devtest.util.compression.CompressionUtils - Unable to decompress datajava.util.zip.ZipException: Not in GZIP format at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91) at com.ca.devtest.util.compression.CompressionUtils.doDecompress(CompressionUtils.java:108) at com.ca.devtest.util.compression.CompressionUtils.decompress(CompressionUtils.java:58) at com.ca.devtest.util.compression.GzipUtils.decompress(GzipUtils.java:37) at com.itko.lisa.vse.stateful.protocol.http.HttpProtocolHandler.applyRequestBody(HttpProtocolHandler.java:710) at com.itko.lisa.vse.stateful.protocol.http.HttpProtocolHandler.createRequest(HttpProtocolHandler.java:426) at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.createRequest(HttpListenStep.java:595) at com.itko.lisa.vse.stateful.protocol.http.HttpListenStep.execute(HttpListenStep.java:546) at com.itko.lisa.test.TestNode.executeNode(TestNode.java:995) at com.itko.lisa.test.TestCase.execute(TestCase.java:1297) at com.itko.lisa.test.TestCase.execute(TestCase.java:1198) at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183) at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124) at com.itko.lisa.coordinator.Instance.run(Instance.java:208)

    also, please see the response time graph. We have set 1.5sec delay only. Appreciate your help.