Quantcast
Channel: New board topics in SmartBear Community
Viewing all 20990 articles
Browse latest View live

REST Mock service returns 404 (dispatch error;missing response)

$
0
0

Hello,

 

I am trying a really simple scenario, I've made simple REST Service - http://localhost:8089/test with GET operation defined.

Next I've made Mock Service for that service, with a sample response that returns 200 status, however, every time when I am trying to invoke the service I am getting 404 status and in Mock log error is logged: [dispatch error; missing response]

[dispatch error; missing response]

What is strange as well, by sending request on the root I am getting this html response:

 

<html><body><p>There are currently 1 running SoapUI MockServices</p><ul><li><a href="/test?WSDL">REST MockService 1</a></li></ul></p></body></html>

 

I am using SoapUi 5.3.0

 

Has anyone experienced this issue?

 

Thanks in advance!


Testcomplete 2003->Testcomplete 2008->12 scripts migration

$
0
0

Is it possible to use TC2003 scripts in TC2008? TC12 ? Are they compatible?

or if no - how to convert these scripts to 22008/12 versions?

 

How can I change the settings so that my Projects and SoapUI windows stay saved

$
0
0

How can I change the settings so that my Projects and SoapUI windows stay saved each time i close and re-open ReadyAPI?

I slide the project properties down to the bottom of the column and then open the column full of Projects in order to work on each one, expanded out.  Every time i close and reopen ReadyAPI that part of the UI is set back to original settings.  I want to

have it save where I left off working the last time.

 

How can I save the settings?

KeyWord Mode: Is there a way to force a specific option to be selected from a drop down list?

$
0
0

I have a drop down list for selecting Shipping Company.  Depending on the customer, the options available can be different, thus the positions of those they have in common are in different places on the drop down list.

 

I need to select the same Shipper option regardless of where it is listed in the drop down.

 

My KeyWord recording is selecting the Cell range regardless of the value that resides there.  So Cell_1 is "Shipping Company 001" for one customer, but for another it is "Shipping Company 002".

 

 

One of our developers provided me with the following information regarding the design of the drop down:

 

It is a custom designed control consisting of DIV's, TABLE's, and Javascript.

 

Clicking to expand the entry runs onComboArrowImageClick() which, on the first click, POST's the page back. It then reloads with all of the data displayed. Subsequent clicks run the same function, but it just toggles the visibility.

 

Clicking on a row runs tableRowClick(row) which copies that row's values into some hidden fields and updates the display before POSTing the page back if there was a change. This function is passed the <TR> object that was clicked.

 

Is it possible to force the selection made to be the same regardless of where it is located in the drop down?

 

 

Odd UI behaviour

$
0
0

I'm getting this message;

 

Semantic error at paths./domains/{crawl_id}

Declared path parameter "crawl_id" needs to be defined as a path parameter at either the path or operation level

 

But there's no reference to crawl_id on line 89 or anywhere in the API...

 

Also, when I open other API projects, the same error is showing on them as well. 

 

Any thoughts?

 

Cheers,


Dave

 

 

System date actualization

$
0
0

Hi all,

 

I have an issue to modify System Date time.  I need to modify for a scripts section, the Windows date. I could do it, but i need after this script section, to return at real time.

 

For example, if i need to set Today on system, I used a boolean True and if False, a hardcode date. First I hardcode the date and then i should set the real time date.

 

sub DateSystem(Today)

 

If Today = true then
   aqdatetime.SetSystemDateTime(aqdatetime.Now)
   Log.Message "System date is: " & aqdatetime.Today
else

  day = aqDateTime.SetDateElements("2017", "05", "22")
  aqDateTime.SetSystemDateTime day
  Log.Message "System date is: " & aqdatetime.Today
End if

end sub

 

How can I return the System date to normal or real date/time?

 

Regards.

Keyword vs Scripting in Test Complete 12

$
0
0

Hi all:

I searched in the forums and this discussion occurred years ago but I feel that things may have changed in the latest version. My question is this:

Scripts vs keyword tests-- which is better for a .Net VB application? I am currently working on building an automation infrastructure/library for a suite of applications written in Visual Basic with highly visual components. I do have scripting/programming experience in automation, but it seems if keyword tests-- you get more bang for the buck. I have figured out how to call various aspects of my application and do checkpoints via keyword tests. What is the advantage of recording a script test or writing one within the confines of test complete? I am not really seeing any benefit here. Also is it true that if you write a script from scratch you cannot get a visualizer component?

Thanks!

Michele

VirtServer Panel

$
0
0

How do I get to the VirtServer panel through ServiceV and not the web interface?


The .PJS file for my Suite has disappeared. Is there a way to restore/create another?

$
0
0

Not sure how, but the .PJS file for my largest suite is now missing.  No others are.

 

And it appears that all other files for this suite are still present.  How does one restore or create a new .PJS?

Text field (object) not being targeted by PropertyCheckpoint tool

$
0
0

Hello,

 

First of all, do licensed TestComplete users (also) post their questions here?  Or is there a different channel for submitting a help ticket?

 

I am in need of assistance with using the Property Checkpoint wizard to validate that a text field (4-char) contains "1855".  It sure sounds easy enough but when I drag the target/bullseye over the text field, a much larger area of the browser gets highlighted in red.  How do I proceed or narrow down the object selection? Newbie here Smiley Sad

 

p.s. I recorded a video using Jing to illustrate the attempt. https://www.screencast.com/t/eNtc9VHVEEi

 

Thanks in advance.

Arlene

New Project Suite - Added Existing Tests - Now Unable to Find Object

$
0
0

I have some tests in Project Suite A that are working. When I added those tests to Project Suite B using "Add Existing Item", now they're suddenly getting "Unable to find object..." every couple of lines. Is this normal/expected? If so, why? If not, how do I fix it? I was expecting to easily migrate existing tests from one project to another.

 

Ex: Added a working test from Project Suite A to Project Suite B. It fails on this line. If I right click > highlight, TC cannot find the object on screen:

 

before_fail.png

 

Still on Project B:

 

after_fail.png

TestComplete 12.3 Code editor find string issue

$
0
0

Hi TestComplete support,

      We have updated the Testcomplete 12.2 to 12.3. But in the Test complete 12.3 code editor we face issue like searching any string took much time by Alt+F.

 

If we are searching the string in the script file of code line is more than 25k.

 

You can reproduce the issue by follow steps

  • Create project
  • Create unit with line of code more 25k
  • Search any string in code script and see that for searching any testcomplete took more than 45 sec’s which is too much

Please help me testcomplete support team and as early as possible debug issue and come up with solution.

 

 

 

Thanks & Regards

Santosh Thenge

SDK usage

$
0
0

Hi all,

 

does anybody use the SDK?

What Kind of Solutions do You create with it?

How can I change the settings so that my Projects and SoapUI windows stay saved

$
0
0

How can I change the settings so that my Projects and SoapUI windows stay saved each time i close and re-open ReadyAPI?

I slide the project properties down to the bottom of the column and then open the column full of Projects in order to work on each one, expanded out.  Every time i close and reopen ReadyAPI that part of the UI is set back to original settings.  I want to

have it save where I left off working the last time.

 

How can I save the settings?

VirtServer Panel

$
0
0

How do I get to the VirtServer panel through ServiceV and not the web interface?


How to change a Project's Name / Properties

$
0
0

I created a Rest Project in our development environment with several test suites.  When I created it, I named it Project1.  The time came that I was ready to promote the code to our Test environment.  In order to not have to recreate the wheel, I made a copy of the xml.  I then right-clicked on the Project name in SoapUI and renamed the original to Project1Dev, closed the project and renamed the clone to Project1Test.  The reason I didn't just use Environments, is because the users, ids. etc are vastly different between environments.  The problem is, if I have one of these projects open in my workspace and need to go do something in the other environment, I get a message that the project is already open in my workspace, etc.

 

So, is there a way to change something in the properties of the Dev Project so that I can have both projects open in my workspace at the same time?  Thx for any help Smiley Happy

How to Get the URL of the current web page ?

$
0
0

Hello, I clicked on an object in IE browser, and then a new browser window opens up with the details of the object I clicked.

How can I fetch the URL of this new window, and how can I switch between these 2 windows? 

 

Thank you

UL_Automate

Property Expansions in JSONPath expression in Property Transfer step

$
0
0

Hello SmartBear community

 

I'm new to using SoapUI and have got stuck on trying to use property expansions (for Test Case level parameters) in a Property Transfer step. I want to look up a value returned in a service response using the following JSONPath:

 

$.roles[?(@.service_name=='MyServiceName')].id

 

But I would like to parameterize the step to run for different environments, e.g.

 

$.roles[?(@.service_name=='${#TestCase#ServiceName}')].id

 

This doesn't seem to work - neither does the expression $.roles[?(@.service_name==${#TestCase#ServiceName})].id. I get the error "Array index [Ljava.lang.String;@1b02ce3 not found in path".

 

I have checked the property name is correct by using the same property expansion in my request (where it is expanded correctly), and I've checked my JSONPath expression works with a hard-coded value.

 

Any idea of where I am going wrong here?

 

Thanks
Lucy

One of the most annoying things I find is I am unable to search and replace strings in ReadyAPI?

$
0
0

Hello folks:

I am unable to search and replace strings in requests.

Workaround - copy requests to notepad++ do the search and replace and then paste back to READYAPI.

The options for Edit is all grayed out.

Why have a feature that is not available?

Will this be coming in future releases?

Thanks

Sanjeet

how to get the testiteration environment variable in testcomplete

$
0
0
In uft we have built in environment variables like testiteration when we start executing the script the test iteration value will be 1, like where we get the test iteration value in Testcomplete
Viewing all 20990 articles
Browse latest View live