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

Failed to Generate Reports

$
0
0

When ever i treid to generate customized report getting below error 

 

Failed to generate a report. Make sure the property "Custom report library" is set to the folder where the report templates are stored (by default, /bin/reports).

 

Even though i tried allmost all the possible solutions provided in the community 

 

 


Variable keystore for each single teststep, based on environment

$
0
0

Dear Smartbear friends!

This is my very first post on the community site Smiley LOL

#NoobAlert


My situation

I have a webservice with 3 environments (integration, acceptation & production).

For each seperate teststep-properties I use variables like;

username: ${#Project#Username}

password: ${#Project#Password}

ssl keystore: ${#Project#Certificate}

 

The benefit is that I can manage these credentials in the Project Custom Properties.

So when I switch from environment, I only have to change 1 Project Custom Properties and all seperate teststeps will obey the Project Custom Properties. If I want to switch user or certificate, I can do that on the single Project Custom Properties as well.

 

But nowwww....

The problem

Since I've upgraded to ReadyAPI 2.6.0 I've lost ${#Project#Certificate} in the ssl key store field from all seperate teststeps and there's no way to write this back, because this field suddenly became a dropdown-list.

 

SSL Keystore.png

Can anyone give me tips how to fix this properly?

Is it possible to send request to Remote activeMQ using soapUI? Requ and answ is in JSON

$
0
0

Hi 

Trying to send request to Remote ActiveMq (activemq is installed on remote machine ,but not as standalone app)through Sopaui pro.

Nothing is happining.

Also,Tried with hermes,getting hermes config not found error under JMS endpoint.

Any help will be apperciated.

Thanks

How to import all custom properties values to SoapUI Pro from command prompt.

$
0
0

I want to import All custom properties at project level during runtime. Is there any way can I import the proprty file for environment and not just one property at a time.

 

 

Configure Test Log to see only failures

$
0
0

Can We configure the TestComplete in such a manner that after running the project suite we only wan to see the Test Log which has failure only ?

 

Please update 

Thanks

Nishchal

How to pass custom properties from external file in SOAP UI pro using command prompt

Looking for POC or Eval Samples for TestComplete

$
0
0

We are looking at doing a POC on TestComplete. I have been asked to create the POC Plan. I thought rather than re-creating the wheel, I would see if there were any users in the community that have POC'd TestComplete? If so, would you be willing to share your POC Plan so that I can get an idea of what I should be thinking about?  It would be nice if SmartBear shared customer POC results so that we could all learn from them given the POC's are free of private company information.  I'm just looking for a good format with general idea's of what to test out and how to score the results.

Thanks!

how to run ready api composite project in gitlab?

$
0
0

Hi,

 

How to run ready api composite project in gitlab with license.

 

I am getting the following error:

 

No valid SoapUI license exists.
Please enter absolute path of the license file (.zip or .key):
[INFO] ReadyAPI 2.6.0 shutting down
[ERROR] java.util.NoSuchElementException: No line found

 

 


Test Results

$
0
0

I have a script which calls a lot of tests from other scripts, lets call this a master script. I have around 8 master scripts which can contain anywhere from 20 to 80 individual tests. I have distributed testing set up and I have my different master scripts as my tasks so instead of having to call loads and loads of tasks per job I just need to call the one master script for that particular job. 

The problem is my results dont reflect the amount of tests actually ran. Since I only run 8 master scripts thats all it says actually ran, instead of the 200+ it should say. Is there any setting or way to have my results display the actual number of tests ran without having to have a load of tasks in each jobs in place of a master script?

The first image is what our results look like and the second is a small example of what I mean by master script where its one script calling all related tests.

results covered.png

test.png

Problem referencing component definitions from another spec in the same repo

$
0
0

I'm trying to reference component from another spec in the same project/folder of my repository, but I'm getting errors like this one:

 

Resolver error at paths./participantInfo/{certificateNo}.get.responses.200.content.application/json.schema.properties.personnalInfoData.$ref

Could not resolve reference: Failed to fetch

 

Anyone knows if I can achieve this or whats wrong with my spec? 

 

components:
  schemas:   
    ParticipantData:
      type: object
      required:
        - personnalInfoData
        - policyProductData
        - holdingsData
      properties:
        personnalInfoData:
          $ref: 'https://git.ssq.local/projects/SSQAP/repos/ssq-api-spec/raw/rcu-api.yaml#/components/PersonnalInfoData'
        policyProductData:
          $ref: 'https://git.ssq.local/projects/SSQAP/repos/ssq-api-spec/raw/groupinsurance-policy-product.yaml#/components/PolicyProduct'
        holdingsData:
          type: array
          items:  
            $ref: 'https://git.ssq.local/projects/SSQAP/repos/ssq-api-spec/raw/groupinsurance-holding.yaml#/components/HoldingData'



Groovy Dynamic XML files Combine/Append Based on a Node.

$
0
0

Hi All,

 

I am trying Combine/Append Large Set of Dynamic XML Files based in One Single Node (ReportID) in Boomi. It will very helpful if anyone helps with this. I added the Input files and Expected results. 

 

Thanks in Advance.

 

Thanks. 

 

 

Use JSON respond to run TestStep2 after TestStep1 change respond from Running to Completed

$
0
0

Hi,

I'm new to groovy script, I have to check the value of the JSON respond (Status) that able to change from:

1)Pending

2)Queue

3)Running

4)Completed

 

JSON Respond

 

{
"Id":"1",
"Name":"Job 1",
"Status":"Completed", // this status can be change from pending, queue, running and lastly completed
"LastRunStartDateTime":"2019-04-18T22:00:01+08:00",
"LastRunDuration":"1m 35s"
}

Any idea how can I use for loop to check the TestStep 1 will keep on looping until the Status='Completed' and then next to run the TestStep2?

How Performance counters should be used?

$
0
0

Hi,

I try to create performance counter on my TestComplete project, at the moment I use 2 standard counter(memory and CPU)  and on the event OnStartTest I add a call to the method Start of the object aqPerformance .

Am I doing something wrong in the implementation?

 

Emanuele

 

p.s. I execute TestComplete like administrator

  

Recognizing object name reference

$
0
0

Im testing desktop application.in which im checking multple screen in the application.

for one of the screen while recording  for search an component i have used keyboard which was recorded as ^f(control+F) this script when i execute indvidually it will work but when i run in group it is unable to recognize the ^f  object with respect the  screen  

so i have updated this script with options Edit-->find in the same screen which works in group along with individual again after some multiple group run i find same issue with Edit-->find object too

 

im question is why either of this object faces issue during group execution while already it was a recognizing object which is mapped and same state of the application is present when it is executing as same as when it was recorded .kindly help me on this issue

How to Identify best a control ?

$
0
0

Hello,

 

I want to know which is the best way to use the controls offered by Object Spy?  

- Aliases.Device.Process("com.companyname.TouchItemExample").XFObject("MainPage", "").XFObject("StackLayout","")

- or FullName Mobile.Device().Process("com.companyname.TouchItemExample").XFObject("MainPage", "").XFObject("StackLayout","")

 

 


Suddenly soapUI get hangged and my project gets currupted

$
0
0

Suddenly soapUI got hang and my project got corrupted. It was my whole 6 days efforts. If someone of you is answerable for this then please try to help me out this unexpected problem? It is very big loss for me.. I dont understand if soapUi is getting hanged then why it is corruting my project which is stored the hard disk itself? why???? i must say this is a ridiculous thinghappened in my carrier.... 

SendMail not working. Tried everything I found in documentation and forum. Need help.

$
0
0

In gmail, 2-step verification is turned off.

Account access is enabled.

Less secure app access is turned on.

There is a log file here: C:\\TestLog\\Log.mht

 

 The script I am using:

function Test()
{
  SendEmail("xxxxn@gmail.com", "xxxx@xxxxxxxxx.com", "Test", "TestMessage", "C:\\TestLog\\Log.mht");
}
function SendEmail(mFrom,  mTo,  mSubject,  mBody,  mAttachment)
{
  var smtpServer = "smtp.gmail.com" //"smtp.gmail.com";
  var smtpPort = 587; //tried 587, 465, 26 & 25 as well
  var userLogin = "xxxx"; // e.g. "abc" if the address is abc@gmail.com
  var userPassword = "PASSWORD";
  var autentificationType = 1; // cdoBasic
  var connectionTimeout = 30;
  var useSSL = true;// Required by Gmail
  try {
    var schema = "http://schemas.microsoft.com/cdo/configuration/";
    var mConfig = Sys.OleObject("CDO.Configuration");
    mConfig.Fields.Item(schema + "sendusing") = 2; // cdoSendUsingPort
    mConfig.Fields.Item(schema + "smtpserver") = smtpServer;
    mConfig.Fields.Item(schema + "smtpserverport") = smtpPort;
    mConfig.Fields.Item(schema + "sendusername") = userLogin;
    mConfig.Fields.Item(schema + "sendpassword") = userPassword;
    mConfig.Fields.Item(schema + "smtpauthenticate") = autentificationType;
    mConfig.Fields.Item(schema + "smtpconnectiontimeout") = connectionTimeout;
    mConfig.Fields.Item(schema + "smtpusessl") = useSSL;
    mConfig.Fields.Update();
    var mMessage = Sys.OleObject("CDO.Message");
    mMessage.Configuration = mConfig;
    mMessage.From = mFrom;
    mMessage.To = mTo;
    mMessage.Subject = mSubject;
    mMessage.HTMLBody = mBody;
    if(0 < mAttachment.length) {
      mMessage.AddAttachment(mAttachment);
    }
    mMessage.Send();
  }
  catch(exception) {
    Log.Error("E-mail cannot be sent", exception.description);
    return false;  
  }
  Log.Message("Message to <" + mTo +  "> was successfully sent");
  return true;
}

Log reports: 'E-mail cannot be sent', Additional Info panel is blank.

 

Help is much appreciated.

 

Dave

simple way of echoing request field from a request to the response in a REST XML mock

$
0
0

Hi,

 

I am new to SoapUi and I need to setup a REST XML mock in which some fields from the request must be echoed in the response.

I tried with doing the following

// create XmlHolder for request content
def holder = new com.eviware.soapui.support.XmlHolder( mockRequest.requestContent )
// get arguments
def arg1 = holder["//startTime"]

Then in the xml response body I added :

<startTime>${arg1}</startTime>

but what is sent is the exact string "${arg1}" not the content that was supposed to be put in arg1

 

How to proceed ?

Thank you for helping

 

 

 

Encryption lock is disabled for individual custom properties

$
0
0

Encryption lock is disabled for individual custom properties, how to make it enabled? I am using ReadyAPI 2.6.0 pro -

 

 

SoapUI2019-04-19_1138.png

How to do file(s) transfer from local server to remote server in soapui pro?

$
0
0

Dear Friends,

 

I would like to do file(s) transfer from local server location to remote server location in soapui pro.

Could you please help me with it.

 

 

Viewing all 21160 articles
Browse latest View live