List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter 

our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.

Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au Blog


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Running Maven Script in QF-Test > Failes Irregulary


  • Subject: Re: [QF-Test] Running Maven Script in QF-Test > Failes Irregulary
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 12 Aug 2015 16:34:27 +0200

Hi Lukas,

QF-Test should not interfere with maven but maybe maven doesn't like
QF-Test's agent.

Please try the following:

Insert a 'Server script' node with

rc.setOption(Options.OPT_PLAY_CONNECT_VIA_AGENT, false)
rc.setOption(Options.OPT_PLAY_IMPLICIT_INSTRUMENTATION, false)

before starting maven. After the respective 'Wait for process to
terminate' node, insert the following script:

rc.unsetOption(Options.OPT_PLAY_CONNECT_VIA_AGENT)
rc.unsetOption(Options.OPT_PLAY_IMPLICIT_INSTRUMENTATION)

Does that improve your success rate?

Otherwise we'll need to dig deeper. In that case please get in touch
directly with our support.

Best regards,
    Greg


Eichner Lukas VIB-AZ311 <Eichner.Lukas@?.de> writes:

> Hi QF-Test-Experts,
>
> in my GUI-Test it is necessary to run a maven script, which setups (or resets) a database.
>
> I run the Maven-Script like this:
>
> Start Process
> Client: BuildDB
> Executable: C:/Windows/System32/cmd.exe
> Directory: $(builddb.directory)
> Executable Parameters: /C "call mvn clean install"
>
> In ~50% this Script-Execution works, but in ~50% the build failes.
> If failed or not seems very random, mostly you just have to rerun the script (manually) and the
> build succeeds.
>
> If I run the Script in the actual cmd (same command: mvn clean install) it works in 100% of the
> times, so I guess it’s a problem of QF-Test.
>
> Does anyone know a solution for my problem, or had similar problems?
> Or are there other (possibly better) ways to run a maven command?
>
> Thank you & best regards
>
> Lukas

--
Gregor Schmid

E: gregor.schmid@?.de
T: +49 8171 38648-11
F: +49 8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833