keaneseanOccasional ContributorJoined 10 years ago16 Posts2 LikesLikes received1 SolutionView All Badges
ContributionsMost RecentMost LikesSolutionsRe: [SOLVED]Allow wildcards when adding assertion with groovy Hi, can you give an example of how to do this? I can't find any reference to setAllowWidlcards(true) anywhere apart from this specific case! Re: wildcard doesn't work for nil response Yes, I had considered that also, but the xml I provided is only part of the overall response, so would need a lot of assertions :( Re: wildcard doesn't work for nil response Hi Rao, I mean receiving the element with nil = true as per example below. I will look into your suggestion of scripting the assertion instead. <Reason xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> wildcard doesn't work for nil response Hi, I have XPath assertion for the response below. I am only concerned with the Activity and Agent values, so have wildcard enabled and use * for Reason. However if reason is returned as nil, this will fail assertion. Is there a way to include nil in the wildcard assertion? Alternatively, is there a way to have an OR assertion that will allow me to say 'nil OR *'? <Log> <Activity>Deactivated</Activity> <Reason xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <Agent>XXX</Agent> <PerformedAt>2017-11-06T01:32:16Z</PerformedAt> </Log> Re: ReadyAPI 2.1.0 GUI not displaying text on Centos 7 Thanks - I just tried that but it hasn't worked unfortunately. Re: ReadyAPI 2.1.0 GUI not displaying text on Centos 7 Usually just use it to execute automated tests which works fine as we don't require the GUI. But we would like to be able to create/modify tests from that server also. ReadyAPI 2.1.0 GUI not displaying text on Centos 7 Hi, We have installed ReadyAPI 2.1.0 on Centos 7 server. However, when we launch the GUI we cannot see any text - the GUI launches but appears blank. We have tried changing display settings which has changed the display of other applications, but has not changed ReadyAPI. Other applications open without this issue. Has anyone seen this before or have any idea what may be causing this? Thanks Re: TestRunner not allowing passwordless jsch session Hi, The solution to this was to add: session.setConfig("PreferredAuthentications", "publickey,keyboard-interactive,password"); before session.connect(); Re: TestRunner not allowing passwordless jsch session Thanks for the reply Tanya. The issue occurs with the latest maintenance build so I have raised a request with Customer Care. TestRunner not allowing passwordless jsch session I have the following code in a groovy script which works fine (i.e. logs in without prompting for username/password) when I run from SoapUI NG. But when I try to run from TestRunner, it prompts for username - doesn't seem to pick up on "session.setConfig("StrictHostKeyChecking", "no");" Code: log.info("Starting sftp upload process") Session session = null; log.info("Session defined") Channel channel = null; JSch ssh = new JSch(); session = ssh.getSession(ftpusername, ftpdomain, ftpport); session.setConfig("StrictHostKeyChecking", "no"); //auto accept secure host session.setPassword(ftppassword); session.connect(); log.info("Connected to session") channel = session.openChannel("sftp"); channel.connect(); TestRunner console output: 17:26:00,654 INFO [log] Starting sftp upload process 17:26:00,654 INFO [log] Session defined Kerberos username [Username]: Solved