Need a sample to create REST service with HTTP/2 protocol in DevTest

book

Article ID: 198120

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

We require to use http2 protocol for  a new  API service for current release testing. 

We need a sample to create the service using http2 protocol

Environment

Release : 10.6

Component : CA Service Virtualization

Resolution

HTTP/2 protocol was introduced in 10.6

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/using/using-service-virtualization/using-devtest-workstation-with-service-virtualization/creating-service-images/create-a-service-image-by-recording/transport-protocols/HTTP-2-Transport-Protocol.html

Steps to follow:

1. Here is the sample link : https://nghttp2.org/httpbin/get

2. Start the VSE recorder,  and select  HTTP/2 as transport protocol  

3. provide the target Host and port. By default Http-2 protocol is https

After recording validate the VSI and you would see the HTTP-Version shows as HTTP/2.0

 

 

Attachments