How specify proxy in Katalon programically? - unit-testing

I am have list of proxies and I need repeat one test through every proxy. How to specify proxy in Katalon programically? I havent found any groovy methods for this is Katalon documentation.
Maybe I can specify proxy in Katalon using command string options? Then I can write programm that execute katalon for every proxy, but i dont find this command string options in docs

Katalon Studio version 5.3.1 has supported passing proxy settings to console mode command. It is not yet available to set proxy settings from test script.

Related

Error Configuring WSO2 data analytics server

I'm currently experimenting/working on WSO2. What i'm trying to do is to have Data Analytics server configured. I started by following the below specified URL
https://docs.wso2.com/display/AM210/Configuring+APIM+Analytics#9d6747f5c0074928b18599abe472987d (Quick Steps)
After performing all the steps, i get the following issue on APIM cmd prompt
YES Its pretty evident from the error that no such table exists BUT that is exactly the issue i'm facing. What could really be the cause here?
Consider the following points:
I've not followed ALL the steps mentioned on
https://docs.wso2.com/display/DAS310/Getting+Started (BUT are they
required?)
In the installation prerequisites for DAS, JDBC-compliant Connector for Java is required which I've not yet installed (BUT its not mandatory at the same time)
Most of the QUICK STEPS for the configuration of DAS in the specified URL i.e. https://docs.wso2.com/display/AM210/Configuring+APIM+Analytics#9d6747f5c0074928b18599abe472987d where already in place and i only had to
Set Up JDK, ANT, Maven
enable the analytics section in the API-M_HOME/repository/conf/api-manager.xml
add log4j.rootLogger=, DAS_AGENT to API-M_HOME/repository/conf/log4j.properties
add snappy-java_1.1.1.7.jar to DAS_HOME\repository\components\lib
Yet the issue persists, Do let me know of what you think. Thank you
Since you are following quick start guide please extract the WSO2 API Manager and the WSO2 API-M Analytics distributions (zip files), to the same directory (preferably an empty directory).
Also, you need to generate some traffic to the published APIs in order to analytics server to create this table for the first time.

WSO2 Dev Studio 3.7.0 fails when attempting to use XPath

We are attempting to move all of our proxy service and mediation development to Developer Studio, which is the approved and supported method. We have installed Developer’s Studio as per the instructions in the installation guide on several workstations. We have succeeded in deploying some simply proxy services to our shared ESB in our integration environment. As long we stick to simple mediators which do not use Xpath things seem to work fine.
Our next step was to attempt to work through the tutorial presented here:
http://wso2.com/library/articles/2014/06/develop-and-deploy-esb-artifacts-using-wso2-developer-studio/
However, when we attempt to use the properties mediator as described in the tutorial, we are unable to save the proxy service. The error message is XPathFactory#newInstance failed to create an XPath for the default object model http://java.sun.com/jaxp/xpath/dom. The end of the error message is "Illegal Configuration-File Syntax".
Version information: WSO2 Dev Studio 3.7.0. JDK 1.7.0_69.
I can't post the stack trace in full because it goes over the 2 link limit, but the first entry is equivalent to the error message.
The expression generating the error is //heal:getHealthCareCenterInfo/heal:longitude/text()

Typesafe activator not starting

I installed typesafe activator(Windows) for using akka frame work. But when i am trying to start the activator it is not opening in the browser as mentioned on the Akka website. I tried opening it using command prompt but it is showing "jansi 1.11 could not be retrieved" error. How to reslove this?
Looks like you can't download the right version of the jansi.jar which unfortunately isn't included in the download.
If you are using a web proxy on Windows you have to follow the configuration steps described here http://typesafe.com/activator/docs in the section "Behind a proxy"
try setting the http_proxy environment variable. It worked for me. See this

Can't run my Spring MVC project on a Tomcat web server (local)

I have used Spring Template Project to create a Spring MVC Project. It works fine running it on the "VMware vFabric tc Server Developer Edition v2.8"-server. But when I move it to the Tomcat server and I try to run it it doesn't work. When I try to access the site I get following:
HTTP Status 404 - /analyse
type Status report
message /analyse
description The requested resource is not available.
Do I have to convert the project some how? It doesn't have the same structure as the other projects in the webapps-folder.
Any idea?
So basically I need to know what has to be done in order to run my Spring MVC Project on my Tomcat-server.
Aprreciate any help I can get!
What is the name of your *.war file?
Typically you can access your app via a URL by the same name, minus ".war"
The problem is in deployment assembly,you have to check it.
As you are using maven so you can type following command
eclipse:eclipse -Dwtpversion=2.0
so it will solve deployment assembly problem and also download necessary jar's.
Then run command
clean install
and clean the project from
project clean option.
Go to Project --> Properties configure Java, Javascript and Dynamic Web Module.
And now you can access the application in Tomcat Server as well. The problem is in deployment assembly.
Properties Configuration

check iis authentication settings with vbscript

Is there a way to check what type of authentication (anonymous, ntlm..) is configured in a
website using a vbscript?
and if is it possible it work on any version of iis?
I am afraid there no single way to achieve this on any version of IIS. Methods of accessing this information on various versions of IIS are discussed in answers to this question:
How to set Authentication Methods in IIS programattically.