Print Page   |   Contact Us   |   Sign In   |   Register


Join Vivit
Contact Vivit
Become a Leader
Become a Sponsor
Community Search
Calendar

9/28/2016
Vivit Minnesota ITSM Fall Chapter Event

9/28/2016
Become a Cloud Master with the HPE Helion Cloud Suite - Part 2

9/29/2016
Vivit Chicago Chapter Event

9/29/2016
How Secure Content Management Can Help Align Governance and Security

10/4/2016
PPM 9.40: How the New Features of HPE PPM can Help your PMO

LinkedInTwitterFacebookGoogle Plus

 
HPE Software Products: Service Virtualization
Share |

Can SV respond Synchronously and after a delay few responses Asynchronously?Open in a New Window

In the realtime workflow, the partner sends a Synchronous response and after a delay sends 3 Asynchronous responses. Is there a way in SV, I could simulate this using SV? Client/Partner uses HTTP as thier communication protocol. Please advise. Thanks!

 

Service Virtualization Help Center is here for you!Open in a New Window

Read the latest blog on how the ADM Help Center empowers you to make the most of Service Virtualization, Network Virtualization, and the rest of the ADM products that you use in your organization.

How can we help you? Explore the new Application Delivery Management Help Center for insights

Tell us how we are doing! Feedback warmly welcome.

Michal Berman
Information Engineer – Lifecycle Virtualization

 

 

Two way messaging --webserviceOpen in a New Window

Hi,

Currently working on service virtulization projects and need help on two way messaging scenarios.

My Scenario : We have one outbound webservice(thirdparty vendor) and one inbound webservice(owned by my client). 

Inbound service has to trigger based on outbound response message. Can you please guide me how to do that..

Thanks in Advance!

Regards,

RC

 

 

Modifying response URLOpen in a New Window

Hello, I am new to this so please bear with me.

How do I send a response to a different URL than what was recorded with the virtual service? 

Can I manually open up the response in the learned data in XML format and simply change it there in the tags?

 

How to configure WebsphereMQ for ClaimApprovalWebSphereMqDemo provided in the Demo folder of HP SVOpen in a New Window

How to configure WebsphereMQ for ClaimApprovalWebSphereMqDemo provided in the Demo folder of HP SV.

I am using Webspehere MQ 8.0.0.5. What are things have to follow while creating 

1.Queue Manager? (Create server-connection channel to allow remote administration of the queue manager over TCP/IP: Check box check or Not)

2. Queues (What kind of Queues need to be created: Local/Remote/Alias/Model ?)

3. Channel (What Kind of Channel need to be created: Sender/Server/Receiver/Requester/Server-Connection/Cluster-Sender/Cluster-Receiver ?)

4. Listener port? unused port I am using

Please suggest how to set up these?

Queue Manager Name: QM_DEMO
Channel Name: CHANNEL_DEMO
Host: foo.com
Port: 1414
CSSID: 437
Username: foo1
Password: pass1

 

Awaiting for response..

Thanks

ChandanNSR

 

 

Error while attempting to read/write a text file from local system using C#Open in a New Window

Hi,

I am getting below error when i try to read/write the text file using C# rule. Please help me in resolving the same.

C# code:

using System;
using System.IO;
using HP.SV.DotNetRuleApi;
using HP.SV.CSharp;

namespace HP.SV{
 public class CSharpRule{
  public static void Execute(HpsvRootObject hpsv){
            StreamReader sr = new StreamReader(@"\\solon.prd\branches\Q\Global\Users\XN1654\Userdata\Desktop\TestSV\Input Real Service.txt");
            String inStr = sr.ReadLine().ToString();
            sr.Close();
            hpsv.Request.readIbanNumber.ibanKeyDTO.ibanKey = inStr;
            StreamWriter sw = new StreamWriter (@"\\solon.prd\branches\Q\Global\Users\XN1654\Userdata\Desktop\TestSV\myFile.txt",true);
            sw.WriteLine ("what you want to have written to the file");
            sw.Close ();
  }
 }
}

Error

Internal server error
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Read="\\solon.prd\branches\Q\Global\Users\XN1654\Userdata\Desktop\TestSV\Input Real Service.txt"/>

at HP.SV.Runtime.Simulation.DataSimulator.ServiceOperationRule.CSharp.DotNetServiceOperationRuleNetRuleExecutor.Execute(IServiceOperationScriptedRule scriptedRule, IScriptObject request, IScriptObject response, IMultiResponseObject multiResponse, IScriptServiceCallActivity[] preResponseServiceCallActivities, IScriptContext context, DataLoggerContext dataLoggerContext, IScriptObject environment, IScriptObject serviceInfo) in y:\SV-3.81.15076.45207\net\Runtime\Simulation\DataSimulator\ServiceOperationRule\CSharp\DotNetServiceOperationRuleNetRuleExecutor.cs:line 173
at HP.SV.Runtime.Simulation.DataSimulator.ServiceOperationRule.ServiceOperationScriptedRuleExecutor.Execute(ServerSimulationContext serverContext, DataSimulationContext dataContext, OperationSimulationContext operationContext, SessionContext sessionContext, IServiceOperationRuleSimulationContext ruleContext, ProcessingContext processingContext) in y:\SV-3.81.15076.45207\net\Runtime\Simulation\DataSimulator\ServiceOperationRule\ServiceOperationScriptedRuleExecutor.cs:line 148
at HP.SV.Runtime.Simulation.DataSimulator.SimulationEngine.ProcessServiceOperationRule(ServerSimulationContext serverContext, DataSimulationContext serviceContext, OperationSimulationContext soContext, SessionContext sessionContext, IServiceOperationRuleSimulationContext ruleContext, ProcessingContext processingContext) in y:\SV-3.81.15076.45207\net\Runtime\Simulation\DataSimulator\SimulationEngine.cs:line 186
at HP.SV.Runtime.Simulation.DataSimulator.SimulationEngine.ProcessOneMultiResponse(ServerSimulationContext serverContext, DataSimulationContext serviceContext, OperationSimulationContext soContext, SessionContext sessionContext, ProcessingContext processingContext) in y:\SV-3.81.15076.45207\net\Runtime\Simulation\DataSimulator\SimulationEngine.cs:line 117
at HP.SV.Runtime.Simulation.DataSimulator.SimulationEngine.SimulateResponsesInternal(ServerSimulationContext serverContext, DataSimulationContext serviceContext, SessionContext sessionContext, OperationId operationId, IServiceCallDataTree requestDataTree, IActivityRootSchemaType activityRootSchemaType, DateTime transportMessageCreationTimestamp, IServiceCallDataTreeCreationStrategy dataTreeCreationStrategy, ISimulationExecutionReportBuilder simulationExecutionReportBuilder) in y:\SV-3.81.15076.45207\net\Runtime\Simulation\DataSimulator\SimulationEngine.cs:line 89
at HP.SV.Runtime.Simulation.DataSimulator.DataSimulator.GetResponsesForRequest(EntityId virtualServiceId, CannonicalMessage requestMessage) in y:\SV-3.81.15076.45207\net\Runtime\Simulation\DataSimulator\DataSimulator.cs:line 109
at HP.SV.Runtime.Simulation.PerformanceSimulator.Impl.MessageScheduling.MessageSchedulingController.ScheduleDataSimulation(CannonicalMessage request) in y:\SV-3.81.15076.45207\net\Runtime\Simulation\PerformanceSimulator\Impl\MessageScheduling\MessageSchedulingController.cs:line 228
at HP.SV.Server.ServerImpl.ProcessInputMessageInternal(TransportMessage transportMessage) in y:\SV-3.81.15076.45207\net\Server\Server\ServerImpl.cs:line 355
at HP.SV.Server.ServerImpl.ProcessInputMessage(TransportMessage transportMessage) in y:\SV-3.81.15076.45207\net\Server\Server\ServerImpl.cs:line 310
at HP.SV.AgentServer.AgentManager.ProcessInputMessage(TransportMessage transportMessage) in y:\SV-3.81.15076.45207\net\Server\AgentServer\AgentManager.cs:line 1141
at HP.SV.AgentHosting.AgentHost.ProcessInputMessage(TransportMessage transportMessage) in y:\SV-3.81.15076.45207\net\Server\AgentHosting\AgentHost.cs:line 146
at HP.SV.AgentCommon.Agents.Agent`1.ProcessInputMessage(TransportMessage message) in y:\SV-3.81.15076.45207\net\Agent\AgentCommon\Agents\Agent.cs:line 453
at HP.SV.HttpAgentCommon.EndpointImpl.Forwarder.ProcessRequest(IGenericHttpContext context, IUriSegmentWrapper segment, IUriSegmentWrapper endpointSegment, String messageId, Int64 timestamp) in y:\SV-3.81.15076.45207\net\Agent\HttpAgentCommon\EndpointImpl\Forwarder.cs:line 51
at HP.SV.HttpEmbeddedAgent.HttpAgent.ProcessRequest(IGenericHttpContext context, Int64 timestamp) in y:\SV-3.81.15076.45207\net\Agent\HttpEmbeddedAgent\HttpAgent.cs:line 72
Inner exception:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark)
at System.Security.CodeAccessPermission.Demand()
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path)
at HP.SV.CSharpRule.Execute(HpsvRootObject hpsv)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The first permission that failed was:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Read="\\solon.prd\branches\Q\Global\Users\XN1654\Userdata\Desktop\TestSV\Input Real Service.txt"/>

The demand was for:
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Read="\\solon.prd\branches\Q\Global\Users\XN1654\Userdata\Desktop\TestSV\Input Real Service.txt"/>

The granted set of the failing assembly was:
<PermissionSet class="System.Security.PermissionSet"
version="1">
<IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Read="C:\Program Files\HPE\HPE Service Virtualization Designer\Designer\bin\;C:\Users\XN1654\AppData\Roaming\Hewlett Packard Enterprise\HPE Service Virtualization Designer\Scripts;C:\ProgramData"
Write="C:\ProgramData"
PathDiscovery="C:\Program Files\HPE\HPE Service Virtualization Designer\Designer\bin\;C:\Users\XN1654\AppData\Roaming\Hewlett Packard Enterprise\HPE Service Virtualization Designer\Scripts;C:\ProgramData"/>
<IPermission class="System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="MemberAccess"/>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
version="1"
Flags="Assertion, Execution, RemotingConfiguration, BindingRedirects"/>
</PermissionSet>

The assembly or AppDomain that failed was:
DNR_bd02d54b-71a6-4407-88cc-b5599bc528f2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
The method that caused the failure was:
Void Execute(HP.SV.CSharp.HpsvRootObject)
The Zone of the assembly that failed was:
MyComputer
The Url of the assembly that failed was:
file:///C:/Users/XN1654/AppData/Roaming/Hewlett Packard Enterprise/HPE Service Virtualization Designer/Scripts/DNR_bd02d54b-71a6-4407-88cc-b5599bc528f2.dll

 

How to use XML over File System protocol in 3.81Open in a New Window

Hi,

I would like to know how to use XML over File System protocol.

I am getting errors like "All agents must be filled and unique(used once per service" and "Input pattern contains not allowed characters. Please use only those allowed characters : letters, numbers, dot(.), dash(-), has(#), asterisk(*) and space"while creating a virtual service using XML over File System protocol.

So please share a video or a project which was created using this protocol.

Please find the attachment for the Agents details which i have configured.

In short, i would like to know how File System works in HP SV 3.81.

 

Query regarding trial version tools.Open in a New Window

Hello Everyone ,

This is my query regarding HPE Service Virtualization trial version tool. I could not find any documentation for trial version tool in faq . Please can you guide me if I can use the Trial version tool for educational purpose . Can I use screenshot of trial tool for some ppt documents .

 

thank you,

Vinay 

 

How to create virtual service for asynchronous web services?Open in a New Window

Hi,

I'm trying to create virtual service for asynchronous web service methods. Can someone please guide me how to deal with asynchronous calls.

Regards,

RC

 

Error while connecting to ActiveMQ - JNDI from HPE SV 3.81Open in a New Window

Hi,

I am trying to create a VS by connecting to ActiveMQ on HPE SV 3.81. Getting errors while doing the Test Endpoint.

Agent Configuration:
Name: ActiveMQ-5.1.0
JNDI URL: tcp://127.0.0.1:56021
Context Factory: org.apache.activemq.jndi.ActiveMQInitialContextFactory
Class Path: D:\Softwares\Jars\activemq-all-5.10.0.jar; C:\Program Files\Java\jdk1.7.0_79\jre\lib;D:\Softwares\Jars\ActiveMQJars\geronimo-jms_1.1_spec-1.1.1.jar;D:\Softwares\Jars\ActiveMQJars\geronimo-j2ee-management_1.1_spec-1.0.1.jar;D:\Softwares\Jars\ActiveMQJars\commons-net-3.3.jar;D:\Softwares\Jars\ActiveMQJars\activemq-client-5.10.0.jar;D:\Softwares\Jars\ActiveMQJars\hawtbuf-1.10.jar;D:\Softwares\Jars\ActiveMQJars\slf4j-api-1.7.5.jar;D:\Softwares\Jars\ActiveMQJars\jcl-over-slf4j-1.7.5.jar;D:\Softwares\Jars\ActiveMQJars\log4j-1.2.17.jar

Agent - Test Configuration is sucessful

Created VS by selecting SOAP over generic JMS protocol and selected the agent "ActiveMQ-5.1.0" which I have configured with the below queue details.

Virtual Service:
Destination Name: com.rbc.samples.jms.testQ3
Reply To: com.rbc.samples.jms.testQ4

Real Service:
Destination Name: com.rbc.samples.jms.testQ1
Reply To: com.rbc.samples.jms.testQ2
Connection Factory: QueueConnectionFactory

Error while performing Test Endpoint:
Endpoint validation failed for some endpoints.
Agents: ActiveMQ-5.1.0
Failed to access destination(s) on your JMS server. Check the destination name and permissions. The error reported by JMS is: com.rbc.samples.jms.testQ4.com.rbc.samples.jms.testQ4
Failed to access destination(s) on your JMS server. Check the destination name and permissions. The error reported by JMS is: com.rbc.samples.jms.testQ1.com.rbc.samples.jms.testQ1

Error while deploying the service:
Service Deployment: The deployment has failed. One or more errors occurred. The operation for processing endpoint [f6c6db4d-2f2e-4877-a2c1-caede3b84b5a] could not be completed. org.apache.activemq.ActiveMQConnectionFactory
[7/20/2016 2:20:07 PM] Service Deployment: The deployment has failed. One or more errors occurred. The operation for processing endpoint [db5d2550-cba2-4211-be89-b1813ce0b614] could not be completed. com.rbc.samples.jms.testQ3

Can anyone help me to undersatnd what is the issue with the configuration which is causing this error in the VS. Appreciate your help.

 

How to Update WSDL of an existing virtual serviceOpen in a New Window

Hi,

Please let me know How to update the WSDL of an existing Virtual Service.

 

Ready to Get Serious about DevOps?Open in a New Window

HPE has DevOps classes that will help you meet your training needs, no matter where you are in your DevOps journey. Training includes:

  • Workshops for Decision Makers
  • Transforming an organization to a DevOps organization
  • DevOps Awareness classes
  • DevOps Adoption and Tools Training

Find out more here - http://hpsw.co/ALseKe3 

 

 

How to capture Request body in REST ServiceOpen in a New Window

I want to simulate responses based on the request body of REST service. But i am seeing the request body in HP SV Datamodel. So please let me know how to do that.

 

HPE Service Virtualization Release 3.81 is now available! Introducing a new Community Edition too!Open in a New Window

We are pleased to announce the availability of Hewlett Packard Enterprise Service Virtualization 3.81! The best part is that you can use it today! Get your hands on it today!

Learn more

 

Does HP SV Support LDAP Virtualization?Open in a New Window

Hi,

Can anyone please let me know if HP SV supports LDAP virtualization? If not, is there any work around available in HP SV?

Thanks,

Sivasankaran

 

SV not learning UFT Flight APIOpen in a New Window

Hi everyone!

I've just installed both UFT and SV onto a new Win10 virtual server. From the start menu, I started the SV service(s) then span up the UFT Flight API sample. I'm able to call & use both SOAP & REST APIs from UFT, but none of the calls are being picked up/registered by SV when in learning mode. What am I missing please - are there any configuration settings I need in place? I was hoping both HPS products would work together out of the box :c/

Many thanks all!

- Alex

 

Service Virtualization Takes Center Stage at HPE Discover 2016 in Las VegasOpen in a New Window

Never before has the topic of Service Virtualization (SV) attracted so much attention. Once little more than a dev/test buzzword, Service Virtualization has recently flourished into a fast-growing movement, catching the eye of both customers and industry analysts. Faced with shrinking delivery timelines and mounting business pressures, many companies turn to SV solution to help remove constraints for both development and testing teams and enable them to work in a more agile and collaborative manner.

This year’s HPE Discover Las Vegas 2016 offers several interactive sessions and booths where your customers can navigate the world of DevOps, Agile, Microservices, IoT with the help of Service Virtualization technology. For more details, check out the blog.

This is a great time and place to learn what HPE Service Virtualization has to offer, get questions answered by HPE experts and meet with customers to see how others have successfully implemented HPE SV solutions.

Can’t make it to Discover? Here are some great customer references that focus on the solutions’ ROI & use cases:

  • GameStop Case Study – how a global multichannel video game retailer accelerated time to market using HPE SV solutions, including details on the use case and realized ROI.
  • You can also listen to the webcast to hear real-live customer and partner experiences with HPE SV solutions.

 

Ready for evaluation? HPE is the only vendor who provides a trial of their SV solution. Sign up for a free trial today and see how easy HPE SV is to use. www.hpe.com/software/sv

 

Application virtualization: The next big thingOpen in a New Window

If you are looking to move your company into the future, then you will want to keep up with the newest trends. Technology is taking over the business world, and a good portion of business owners are starting to see the value in virtualization. Whether it is remote desktop or server virtualization, it can benefit you greatly to get your current on-site setups for your employees put into the cloud. One of the newest trends that is sure to pay off big for your company is application virtualization.

What is it?

You may be wondering what it even means to say application virtualization let alone how to convert your company to using it. The basic idea is that the programs you use exist in the cloud rather than being installed on each computer, which is the traditional way of using programs. Many employees can use a program rather than just one employee, and you don’t have to pay for multiple licenses of the software.

A lot of companies will use application virtualization for programs such as QuickBooks or Microsoft Office, so everyone has the opportunity to use the program without having to get the program downloaded to each individual computer. It also makes it easier to update those programs because you don’t have to send an IT managed service provider on site to every single computer. You can just update the virtual software, and it will update for everyone who is using it. Another great advantage is that you are able to use the programs much quicker because they aren’t being loaded up onto each computer but are being loaded up to a virtual server. It ends up meaning your employees can get work done faster.

Personalization with Citrix and Docker

When you speak with your IT managed service provider, they will likely work with companies such as Citrix and Docker to get your application virtualization to the level that works for your business. The Citrix website defines the company as one that powers “business mobility through secure, mobile workspaces that provide people with instant access to apps, desktops, data and communications on any device, over any network and cloud.” Per the Docker website, “Docker allows you to package an application with all of its dependencies into a standardized unit for software development.” Companies like this make it easier for you to create and personalize your virtual applications in order to ensure you are getting the most for what your employees need. Working with virtual applications will, ultimately, boost employee efficiency and save you money. No more wasting money on hardware and software you don’t need. Get everything you want for all of your employees at the touch of a button.

 

Sources: citrix.com/
              docker.com/

 

Name space is moving from parent to child in simulation modeOpen in a New Window

Hi,

I am facing an wired issue if any one faced the same and resolved it please help me.

issue:

1.Created an empty service

2. Learn/ import the Request and response pairs

After imporing name space of parent moved to its child. So in simulation mode I am getting response in different structure compared to original response.

Example:

Response from original service:

<p969:DocumentDataResponse xmlns:p969="http://document.service.outputmanagement.message.com"> <p969:DocumentDataReturn xmlns:p569="http://interfaces.document.service.outputmanagement.message.com"> <p30:messages xmlns:p30="http://util.dto.message.com"/> <p569:DocumentData><![Some XML CDATA]]></p569:DocumentData> </p969:DocumentDataReturn> </p969:DocumentDataResponse> Response from Virtual service: <DocumentDataResponse xmlns="http://document.service.outputmanagement.message.com"> <DocumentDataReturn> <messages xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://util.dto.message.com"/> <DocumentData xmlns="http://interfaces.document.service.outputmanagement.message.com"><![Some XML CDATA]]></DocumentData> </DocumentDataReturn> </DocumentDataResponse>


In the above virtual service response DocumentData parameter namespace is declared there itself instead of its parent. is there any possible way to make the structure of response xml as original one?

Thanks,

Raghunath

 

 

 

 

 

How to Use SV with UFT 12.02Open in a New Window

Dear Experts,

What is the main benefit virtualization in HP unified functional testing ?

How to use Service Virtualization in UFT ? Please, I need to know the main steps in the recommended order.

Thanks,
BR,

Mechlowicz






Sign In


Forgot your password?

Haven't registered yet?

Vivit Blog