[Test Framework] Ghost Inspector Plugin

[Test Framework] Ghost Inspector Plugin

  
Forge Component
(13)
Published on 26 Mar by Indigo Leap
13 votes
Published on 26 Mar by Indigo Leap

Hi, 

I am trying to import UI tests from Ghost inspector.

I have configured the Ghost_Inspector Plugin and set up my API key and URL endpoint.

I can see TestFramework sending our REST calls to GhostInspector to get my tests but I get an error in my logs with a FOREIGN KEY constraint.

Details as follows:

Id:
77c7931b-888f-4220-9b46-7121697516f8
Time of Log:
2018-04-12 21:57:00
eSpace:
GhostInspector_Plugin
Tenant:
GhostInspector_Plugin
User:

Session Id:
No session
Server:

Module:

Message:


The INSERT statement conflicted with the FOREIGN KEY constraint "OSFRK_OSUSR_044_TESTSTEP_OSUSR_044_TESTCASE_TESTCASEID". The conflict occurred in database "OSDEV1", table "dbo.OSUSR_044_TESTCASE", column 'ID'.
The statement has been terminated.


Environment InformationeSpaceVer: 1 (Id=9585, PubId=15374, CompiledWith=10.0.710.0)
RequestUrl: http://127.0.0.1/GhostInspector_Plugin/_TimerHandler.asmx (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/GhostInspector_Plugin-2562-131680433591004202
FilePath: d:\OutSystems\Platform Server\running\GhostInspector_Plugin.01411598394\
ClientIp: 127.0.0.1
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 4664 ('w3wp', Started='3/15/2018 11:38:53 AM', Priv=2018Mb, Virt=12528Mb)
TID: 294
Thread Name:
.NET: 4.0.30319.42000
Stack:
The INSERT statement conflicted with the FOREIGN KEY constraint "OSFRK_OSUSR_044_TESTSTEP_OSUSR_044_TESTCASE_TESTCASEID". The conflict occurred in database "OSDEV1", table "dbo.OSUSR_044_TESTCASE", column 'ID'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at OutSystems.HubEdition.DatabaseProvider.SqlServer.ExecutionService.ExecutionService.ExecuteReader(IDbCommand cmd)
   at OutSystems.HubEdition.DatabaseProvider.SqlServer.ExecutionService.ExecutionService.ExecuteScalar(IDbCommand cmd)
   at OutSystems.Internal.Db.Command.ExecuteScalar(String description, Boolean isApplication, Boolean skipLog, Boolean applyTransformationsToParameters)
   at ssTestFramework_Core.ExtendedActions.CreateOrUpdateTestStep(HeContext heContext, BitArray usedFields, RCTestStepRecord inParamSource, Int32& outParamId)
   at ssTestFramework_Core.Actions.ActionTestStep_CreateOrUpdate(HeContext heContext, ENTestStepEntityRecord inParamTestStepR, Int32& outParamTestStepId, Boolean& outParamSuccess, String& outParamErrorMessage)

Anyone, anything?