Getting the error message - "Cannot Start the application - root element is missing" while trying to launch SV Designer
Environment
SV Designer(all versions)
Situation
While trying to launch SV Designer it fails with the error message "Cannot…
Using COPY FROM function modifies all array items. If you want to modify only a specific one, you need to use scripting. The approach shown below is to traverse the array and once correct item is identified, modify it.
Original response:
<s:Envelope…
We currently have the following problem, the same service is consumed on different platforms, where some of them send a Header with content-Type specifying its type and others do not.
And when the SV does not…
In current version SV is using Newtonsoft.Json 3rd party library, which you can utilize in your C# scripted rules as well. Here is a basic example.
Let's assume following response JSON payload (which is from Claim Processing Fraud REST Demo):
{
…
Even though SV does not support high availability deployment out of the box, you might be able to achieve it with some custom configuration.
Prerequisites
SV Server license (SV is Class 1 product, so this will give you several non-production licenses…
Prerequisite is your SV Server is using volumes for app.config, work and logs folders as desribed in https://admhelp.microfocus.com/sv/en/2023/Help/Content/Installation/Docker-SV-server-Linux.htm
Before running any command from below don't forget to…
Following tools helps you get more productive with Service Virtualization.
Generic Tools
Notepad++ - generic purpose text editor. You often need to work with JSON/XML, for which you can install “JSTool”/“XML Tools” respectively
Wireshark - network…
SV can log a lot of useful information, which can be used mainly for troubleshooting. Majority of loggers are however turned off due to performance reasons, but you can easily enable them if you need to. There is no need to restart SV to apply the logging…
We discovered, that if SV Server is running as Docker container and is connected to MS SQL running on remote machine, it can throw following error under load:
2022-03-12 17:39:57,204 ERROR [Server Statistics Aggregator] HP.SV.ServerCommon.Statistics…
Creating new HTTP agent requires Administrator permission as this action involves opening firewall and registering HTTP listener in Windows.
In some situations however, SV Designer users don't have Administrator permission to create new HTTP agents…
LoadRunner Professional 2021R2 has broken SV integration. You can manually fix it using steps below:
Open C:\Program Files (x86)\Micro Focus\LoadRunner\bin\Wlrun.exe.config
Add following assembly redirect at the end of the <runtime> section:
…
In very rare cases virtual service can get to the state, that it is corrupted and SV Designer, SVM, CLI or any other tool is not able to redeploy/undeploy it.
If this happens to you and you have MS SQL DB, you can use this guide to clean the VS manually…
If you answer yes to one or more questions below, than you would probably benefit from Service Virtualization. The key would be to save enough time and resources to offset SV price and virtualization effort. With free SV Express edition this boils down…