Generated by TestNG with ReportNG at 22:48 PDT on Sunday 28 August 2022
root@ed1b7dd8a1b3 / 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 : 9.609s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2022-08-28 23:03:00 |

2022-08-28 23:03:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:00 | ------------------------------------

2022-08-28 23:03:00 | [Mutex] waiting for: [configured:node:node-81ba370d-cfc8-42af-8335-29f44516be0d:node-2cb902a4-ea2e-44db-9ff1-5b3c3e950924]

2022-08-28 23:03:00 | [Mutex] received everything.

2022-08-28 23:03:00 | [Mutex] isItemNotified: configured:node:node-81ba370d-cfc8-42af-8335-29f44516be0d:node-2cb902a4-ea2e-44db-9ff1-5b3c3e950924 :: true

2022-08-28 23:03:01 | [Mutex] waiting for: [received:nodes:83def23a-01f2-484f-b40e-4783869ae2d2:localhost]

2022-08-28 23:03:01 | [Mutex] received everything.

2022-08-28 23:03:01 | [Mutex] isItemNotified: received:node:83def23a-01f2-484f-b40e-4783869ae2d2:localhost:node-81ba370d-cfc8-42af-8335-29f44516be0d:Node 81ba370d-cfc8-42af-8335-29f44516be0d :: true

2022-08-28 23:03:01 | [Mutex] waiting for: [received:nodes:09510aab-b07e-4955-a2ca-1ee6ac47154d:localhost]

2022-08-28 23:03:01 | [Mutex] waiting for: [received:nodes:09510aab-b07e-4955-a2ca-1ee6ac47154d:localhost]

2022-08-28 23:03:01 | [Mutex] received everything.

2022-08-28 23:03:01 | [Mutex] isItemNotified: received:node:09510aab-b07e-4955-a2ca-1ee6ac47154d:localhost:node-81ba370d-cfc8-42af-8335-29f44516be0d:Node 81ba370d-cfc8-42af-8335-29f44516be0d :: false

createNodes 1.451s
2022-08-28 23:02:58 |

2022-08-28 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:02:58 | ------------------------------------

2022-08-28 23:02:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-81ba370d-cfc8-42af-8335-29f44516be0d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 81ba370d-cfc8-42af-8335-29f44516be0d</title></pubsub></data>

2022-08-28 23:02:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-28 23:02:59 | [Mutex] waiting for: [received:nodes:b39e1b02-2019-4423-acb2-b58960064ad5:localhost]

2022-08-28 23:02:59 | [Mutex] received everything.

2022-08-28 23:02:59 | [Mutex] isItemNotified: received:node:b39e1b02-2019-4423-acb2-b58960064ad5:localhost:node-81ba370d-cfc8-42af-8335-29f44516be0d:Node 81ba370d-cfc8-42af-8335-29f44516be0d :: true

createSubnodes 1.023s
2022-08-28 23:02:59 |

2022-08-28 23:02:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:02:59 | ------------------------------------

2022-08-28 23:02:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2cb902a4-ea2e-44db-9ff1-5b3c3e950924</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2cb902a4-ea2e-44db-9ff1-5b3c3e950924</title></pubsub></data>

2022-08-28 23:02:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-28 23:03:00 | [Mutex] waiting for: [received:nodes:72a76009-f0bb-4455-a55e-48581234877b:localhost]

2022-08-28 23:03:00 | [Mutex] waiting for: [received:nodes:72a76009-f0bb-4455-a55e-48581234877b:localhost]

2022-08-28 23:03:00 | [Mutex] received everything.

2022-08-28 23:03:00 | [Mutex] isItemNotified: received:node:72a76009-f0bb-4455-a55e-48581234877b:localhost:node-2cb902a4-ea2e-44db-9ff1-5b3c3e950924:Node 2cb902a4-ea2e-44db-9ff1-5b3c3e950924 :: true

deleteNodes 1.017s
2022-08-28 23:03:06 |

2022-08-28 23:03:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:06 | ------------------------------------

2022-08-28 23:03:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2cb902a4-ea2e-44db-9ff1-5b3c3e950924</node></data>

2022-08-28 23:03:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-28 23:03:07 | [Mutex] waiting for: [received:nodes:b21268f2-fe94-4133-8fb3-b20a9495995d:localhost]

2022-08-28 23:03:07 | [Mutex] received everything.

2022-08-28 23:03:07 | [Mutex] isItemNotified: received:node:b21268f2-fe94-4133-8fb3-b20a9495995d:localhost:node-2cb902a4-ea2e-44db-9ff1-5b3c3e950924:Node 2cb902a4-ea2e-44db-9ff1-5b3c3e950924 :: false

deleteSubnodes 1.177s
2022-08-28 23:03:04 |

2022-08-28 23:03:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:04 | ------------------------------------

2022-08-28 23:03:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-81ba370d-cfc8-42af-8335-29f44516be0d</node></data>

2022-08-28 23:03:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-28 23:03:06 | [Mutex] waiting for: [received:nodes:290e40f0-78db-4628-b499-0264ee91b12c:localhost]

2022-08-28 23:03:06 | [Mutex] waiting for: [received:nodes:290e40f0-78db-4628-b499-0264ee91b12c:localhost]

2022-08-28 23:03:06 | [Mutex] waiting for: [received:nodes:290e40f0-78db-4628-b499-0264ee91b12c:localhost]

2022-08-28 23:03:06 | [Mutex] waiting for: [received:nodes:290e40f0-78db-4628-b499-0264ee91b12c:localhost]

2022-08-28 23:03:06 | [Mutex] received everything.

2022-08-28 23:03:06 | [Mutex] isItemNotified: received:node:290e40f0-78db-4628-b499-0264ee91b12c:localhost:node-81ba370d-cfc8-42af-8335-29f44516be0d:Node 81ba370d-cfc8-42af-8335-29f44516be0d :: false

2022-08-28 23:03:06 | [Mutex] waiting for: [received:nodes:c3c60a85-bdcc-4580-8fd7-2e7fb53b98d6:localhost]

2022-08-28 23:03:06 | [Mutex] received everything.

2022-08-28 23:03:06 | [Mutex] isItemNotified: received:node:c3c60a85-bdcc-4580-8fd7-2e7fb53b98d6:localhost:node-81ba370d-cfc8-42af-8335-29f44516be0d:Node 81ba370d-cfc8-42af-8335-29f44516be0d :: false

publishItemsToNodes 0.210s
2022-08-28 23:03:02 |

2022-08-28 23:03:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:02 | ------------------------------------

2022-08-28 23:03:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-81ba370d-cfc8-42af-8335-29f44516be0d</node><item-id>item-6c890c86-606b-4407-b14f-54574087e2d5</item-id><entry><test>item-6c890c86-606b-4407-b14f-54574087e2d5</test></entry></data>

2022-08-28 23:03:03 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-6c890c86-606b-4407-b14f-54574087e2d5</value></item-id></result>

2022-08-28 23:03:03 | [Mutex] received everything.

2022-08-28 23:03:03 | [Mutex] isItemNotified: published:item:notifieditem-6c890c86-606b-4407-b14f-54574087e2d5:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-08-28 23:03:03 |

2022-08-28 23:03:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:03 | ------------------------------------

2022-08-28 23:03:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-81ba370d-cfc8-42af-8335-29f44516be0d</node><item-id>item-6c890c86-606b-4407-b14f-54574087e2d5</item-id></data>

2022-08-28 23:03:03 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-6c890c86-606b-4407-b14f-54574087e2d5</value></item-id></result>

2022-08-28 23:03:03 | [Mutex] received everything.

2022-08-28 23:03:03 | [Mutex] isItemNotified: retracted:item:notifieditem-6c890c86-606b-4407-b14f-54574087e2d5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.258s
2022-08-28 23:03:03 |

2022-08-28 23:03:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:03 | ------------------------------------

2022-08-28 23:03:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-81ba370d-cfc8-42af-8335-29f44516be0d</node><item-id>item-6c890c86-606b-4407-b14f-54574087e2d5</item-id></data>

2022-08-28 23:03:03 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-81ba370d-cfc8-42af-8335-29f44516be0d</value></node><item-id type="text-single" label="Item ID"><value>item-6c890c86-606b-4407-b14f-54574087e2d5</value></item-id><item type="text-multi" label="Item"><value><item id="item-6c890c86-606b-4407-b14f-54574087e2d5"><test>item-6c890c86-606b-4407-b14f-54574087e2d5</test></item></value></item></result>

2022-08-28 23:03:03 | [Mutex] notify: [retrieved:item:item-6c890c86-606b-4407-b14f-54574087e2d5:payload-matches:true:localhost]

2022-08-28 23:03:03 | [Mutex] received everything.

2022-08-28 23:03:03 | [Mutex] isItemNotified: retrieved:item:item-6c890c86-606b-4407-b14f-54574087e2d5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-28 23:03:03 |

2022-08-28 23:03:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:03 | ------------------------------------

2022-08-28 23:03:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-28 23:03:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-81ba370d-cfc8-42af-8335-29f44516be0d</value><value>test</value><value>node-2cb902a4-ea2e-44db-9ff1-5b3c3e950924</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2022-08-28 23:03:03 |

2022-08-28 23:03:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:03 | ------------------------------------

2022-08-28 23:03:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-81ba370d-cfc8-42af-8335-29f44516be0d)</node-pattern></data>

2022-08-28 23:03:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2022-08-28 23:03:01 |

2022-08-28 23:03:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:01 | ------------------------------------

2022-08-28 23:03:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-81ba370d-cfc8-42af-8335-29f44516be0d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-28 23:03:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2022-08-28 23:03:03 |

2022-08-28 23:03:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-28 23:03:03 | ------------------------------------

2022-08-28 23:03:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-81ba370d-cfc8-42af-8335-29f44516be0d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-28 23:03:03 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>