Generated by TestNG with ReportNG at 22:31 PDT on Tuesday 12 July 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 0.122s

Failed Configuration
tigase.tests.pubsub.TestRestApiUsingXML
setupClass 0.122s Method arguments: org.testng.TestRunner@42c0a16e
2022-07-12 22:44:18 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream]

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=false

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=1] Connector  state changed: null->connecting

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=1] Preparing connection to [localhost:5222]

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=1] Connector  state changed: connecting->connected

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=1] Whitespace ping period is setted to nullms

2022-07-12 22:44:18 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2022-07-12 22:44:18 |  >> <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features>

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=2836] Start TLS

2022-07-12 22:44:18 | admin :: admin@test-domain.com << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features>

2022-07-12 22:44:18 |  << <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2022-07-12 22:44:18 | admin :: admin@test-domain.com >> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=2838] Proceeding TLS

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=2838] Start handshake

2022-07-12 22:44:18 | tigase.jaxmpp.core.client.xmpp.modules.StreamFeaturesModule.streamRestarted: Pipelining is disabled

2022-07-12 22:44:18 |  >> <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>SCRAM-SHA-512</mechanism><mechanism>SCRAM-SHA-256</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features>

2022-07-12 22:44:18 | admin :: admin@test-domain.com << <features xmlns="http://etherx.jabber.org/streams"><sm xmlns="urn:xmpp:sm:3"/><auth xmlns="http://jabber.org/features/iq-auth"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>SCRAM-SHA-512</mechanism><mechanism>SCRAM-SHA-256</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></features>

2022-07-12 22:44:18 | tigase.jaxmpp.core.client.xmpp.modules.auth.AuthModule.isAuthAvailable: saslSupportedtrue, nonSaslSupported: true

2022-07-12 22:44:18 | tigase.jaxmpp.core.client.xmpp.modules.auth.AuthModule.login: Authenticating with SASL Non-SASL

2022-07-12 22:44:18 | tigase.jaxmpp.core.client.xmpp.modules.auth.SaslModule.login: Try login with SASL

2022-07-12 22:44:18 |  << <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj1hZG1pbixyPXBZcGV0eUpmUFRMeWxFVWVqWkp0</auth>

2022-07-12 22:44:18 | admin :: admin@test-domain.com >> <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="SCRAM-SHA-256">biwsbj1hZG1pbixyPXBZcGV0eUpmUFRMeWxFVWVqWkp0</auth>

2022-07-12 22:44:18 |  >> <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>

2022-07-12 22:44:18 | admin :: admin@test-domain.com << <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.Jaxmpp.onException: Catching exception

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=2836] Connector  state changed: connected->disconnecting

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=2836] Terminating XMPP Stream

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=2838] Connector  state changed: disconnecting->disconnected

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=447 thread=2838] Stream terminated

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

2022-07-12 22:44:18 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted

tigase.jaxmpp.core.client.exceptions.JaxmppException: tigase.jaxmpp.core.client.exceptions.JaxmppException: Unauthorized with condition=not_authorized
tigase.jaxmpp.j2se.Jaxmpp.waitForLoginFinish(Jaxmpp.java:154)
tigase.jaxmpp.j2se.Jaxmpp.login(Jaxmpp.java:249)
tigase.tests.utils.JaxmppBuilder.build(JaxmppBuilder.java:101)
tigase.tests.AbstractTest.setupClass(AbstractTest.java:797)
jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.base/java.lang.reflect.Method.invoke(Method.java:568)
org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:135)
org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:65)
org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:381)
org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:319)
org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:178)
org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:122)
java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
org.testng.TestRunner.privateRun(TestRunner.java:808)
org.testng.TestRunner.run(TestRunner.java:603)
org.testng.SuiteRunner.runTest(SuiteRunner.java:429)
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423)
org.testng.SuiteRunner.privateRun(SuiteRunner.java:383)
org.testng.SuiteRunner.run(SuiteRunner.java:326)
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
org.testng.TestNG.runSuitesSequentially(TestNG.java:1249)
org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
org.testng.TestNG.runSuites(TestNG.java:1092)
org.testng.TestNG.run(TestNG.java:1060)
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:283)
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:75)
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:120)
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Caused by: tigase.jaxmpp.core.client.exceptions.JaxmppException: Unauthorized with condition=not_authorized
tigase.jaxmpp.core.client.connector.AbstractSocketXmppSessionLogic.processAuthFailed(AbstractSocketXmppSessionLogic.java:175)
tigase.jaxmpp.core.client.connector.AbstractSocketXmppSessionLogic$3.onAuthFailed(AbstractSocketXmppSessionLogic.java:107)
tigase.jaxmpp.core.client.xmpp.modules.auth.AuthModule$AuthFailedHandler$AuthFailedEvent.dispatch(AuthModule.java:287)
tigase.jaxmpp.core.client.xmpp.modules.auth.AuthModule$AuthFailedHandler$AuthFailedEvent.dispatch(AuthModule.java:275)
tigase.jaxmpp.j2se.eventbus.ThreadSafeEventBus$2.run(ThreadSafeEventBus.java:81)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
java.base/java.lang.Thread.run(Thread.java:833)
 
Skipped Configuration
tigase.tests.pubsub.TestRestApiUsingXML
setUp 0.000s
setupMethod 0.000s
tearDown 0.000s
tearDownClass 0.000s
tearDownMethod 0.000s
Skipped Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.createSubnodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

createNodes 0.000s
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

createSubnodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.createNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

deleteNodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.deleteSubnodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | Running: REST: Node and item manipulation using REST API - JSON - #4728

2022-07-12 22:44:19 | ------------------------------------

deleteSubnodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.unsubscribeNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

publishItemsToNodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.subscribeNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

retractItemsFromNodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.retrieveItemsFromNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

retrieveItemsFromNodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.publishItemsToNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

retrieveUserSubscriptions 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.publishItemsToNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

retrieveUserSubscriptionsWithRegex 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.publishItemsToNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

subscribeNodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.configureNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------

unsubscribeNodes 0.000s Depends on method(s) tigase.tests.pubsub.TestPubSubAbstract.retractItemsFromNodes
2022-07-12 22:44:19 |

2022-07-12 22:44:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-12 22:44:19 | ------------------------------------