HPE Software Products: Service Virtualization
Share |

Quiet Designer installation using Command lineOpen in a New Window

Hi Team,

I am trying to install HP Service virtualization using command line.

I have read following detail from Installation guide to install HP SV using cmd:

" msiexec /i HPEServiceVirtualizationDesigner.msi /l*V "installer-designer.log" /passive DB_DATASOURCE=localhost\SQLExpress_SV DB_PROPERTIES="Encr
yt='false'" DB_AUTHENTICATION=WinAuth "

But i am unable to unstall HP SV.

Requesting your guidance for this.

Thanks in advance.

Best Regards,

Reshmi K ShashiDharan

 

 

 

 

Hot to configure Java agent using Java instrumentator.?Open in a New Window

Hello Team,

We are trying to configure a java agent using command prompt. I heard this is out of scope, as we need to configure agent using Designer and then only we can configure that using cmd.

While reading the user guide came to know about the Java instrumentator.

Can this be utilise to configure Agents?

Goal here is to create a .batch file, so a user can deploy its service on user defined port number with out opening SV Designer.

Thanks in advance.

Regards,

Reshmi K Shashidharan

 

HP SV command line utilitiesOpen in a New Window

Hello Team,


I am trying to deploy a virtual service using command prompt on user defined Agent.


Sucessfully deployed a service on embedded server using command prompt, requesting your  help  on deploying  a service with user defined Port number/agent on embedded server.


Goal of this is to develop a batch file which can deploy the virtual service with user defined Agent in Embedded server.


Any suggesstion would be a great help.
Thank you in advance.
Reshmi K ShashiDharan

 

Announcing General Availability of HPE Service Virtualizaton release 3.82 and its free Community EdOpen in a New Window

Announcing General Availability of HPE Service Virtualizaton release 3.82 and its free Community Edition

Prospective customers can try our free HPE Service Virtualization Community Edition (release 3.82) to create and run multiple virtual services and incorporate performance and data models for more realistic application testing and simulation. 

 

This release includes enhancements in the area of virtual service design, ease of HTTP service discovery and edit/debug scripts (C# and Javascript) directly from the customer’s IDE of choice. Check out HPE SV Help Center for details on what’s new in HPE SV3.82.

 

Access the latest tools and resources designed to help prospective customers accelerate trial, evaluation and adoption of service virtualization technology. Everything from industry analyst and peer reviews to real live experiences, case studies & ROI on HPE Service Virtualization.

Learn more

 

 

How to do Simulation of a service in HPE toolOpen in a New Window

I am exploring HPE service virtualization tool. We have a requirement of simulate the service not to virtualize. can you please help me with that. Or can you please share me a demo of simulation .. like how to simulate a service. I am not able to find any exmaple for simulation. If you have any document which explains about that uses of this tool . it would be a great help. Tanks

 

SV 3.82 releasedOpen in a New Window

Hi,

we have recently released SV 3.82. The release contains updated Community Edition standalone installer as well as patches for paid versions of SV.

What's new:

  • Swagger/Open API Support
  • HTTP Service Discovery
  • Scripted Rule Enhancements - C# rule can now be edited and debugged inside a Visual Studio IDE

Download:

Resources:

 

How to generate 24 Hours time format in HP SV responseOpen in a New Window

Hi All,

I am strugelling to generate the 24 hours file format in HPE SV response. I am using HPE SV 3.81 version.

I have used Set relative time and Set relative time to both the function in HP SV but my response is in 12hours format only.

EG.

Request Tag time: 2016-10-12T19:09:03

Response tag time: 2016-10-12T07:09:03

(HPE SV Response time format : 00:00:00#yyyy-MM-ddThh:mm:ss)

It is changint the 24 hours time format in 12 hours.

Any advise is appricitated


Regards

Ashish

 

HP Service Virtualization Community Edition Issues with installationOpen in a New Window

Hi, I've been trying to download and install the community version of the Service Virtualization. The wizard Readme recommendations installing the SQL Server 2008 R2 Express first, through the link on the wizard, then to install the Service Virtualization Designer.

The link for SQL Server does not seem to do anything. It opened command line and said it was installing however nothing was installed.

I then downloaded SQL Server 2008 R2 Express from the Microsoft site and installed it, however the Service Virtualization Designer can't connect.

Has anyone else encountered this issue, and if so, how might I solve it?

Thanks

 

Service Virtualization Designer - Community Edition - Installer - IssueOpen in a New Window

Hi,

I was trying to install Service Virtualization Designer - Community Edition - Installer via Software_HPE_Service_Virtualization_3.81_Community_Edition_HPE_SV_Designer_3.81_Setup. I am getting an error message that this application is not a valid win32 application.

I have Windows 7 Enterprise with 64 Bit Operation System.

 

Please suggest on the probable reason.

 

Regards

Samreen Ali

 

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.

Contact Us

Vivit Worldwide
P.O. Box 18510
Boulder, CO 80308

Email: info@vivit-worldwide.org

Mission

Vivit's mission is to serve
the Hewlett Packard
Enterprise User
Community through
Advocacy, Community,
and Education.