Test duration : 9.544s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.075s |
2023-01-10 21:58:34 |
2023-01-10 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:34 | ------------------------------------ 2023-01-10 21:58:34 | [Mutex] waiting for: [configured:node:node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2:node-92fc148e-a070-4383-846d-c6d92d048784] 2023-01-10 21:58:34 | [Mutex] received everything. 2023-01-10 21:58:34 | [Mutex] isItemNotified: configured:node:node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2:node-92fc148e-a070-4383-846d-c6d92d048784 :: true 2023-01-10 21:58:35 | [Mutex] waiting for: [received:nodes:525e8f46-bd81-4714-a868-2801c89e65a5:localhost] 2023-01-10 21:58:35 | [Mutex] received everything. 2023-01-10 21:58:35 | [Mutex] isItemNotified: received:node:525e8f46-bd81-4714-a868-2801c89e65a5:localhost:node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2:Node 2b84d50d-b4f3-401b-97ef-51472d2c0fc2 :: true 2023-01-10 21:58:35 | [Mutex] waiting for: [received:nodes:8fc74621-9c2b-4471-8e7f-90ce3a91eb59:localhost] 2023-01-10 21:58:35 | [Mutex] waiting for: [received:nodes:8fc74621-9c2b-4471-8e7f-90ce3a91eb59:localhost] 2023-01-10 21:58:35 | [Mutex] waiting for: [received:nodes:8fc74621-9c2b-4471-8e7f-90ce3a91eb59:localhost] 2023-01-10 21:58:35 | [Mutex] received everything. 2023-01-10 21:58:35 | [Mutex] isItemNotified: received:node:8fc74621-9c2b-4471-8e7f-90ce3a91eb59:localhost:node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2:Node 2b84d50d-b4f3-401b-97ef-51472d2c0fc2 :: false |
createNodes | 1.431s |
2023-01-10 21:58:32 |
2023-01-10 21:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:32 | ------------------------------------ 2023-01-10 21:58:32 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2b84d50d-b4f3-401b-97ef-51472d2c0fc2</title></pubsub></data> 2023-01-10 21:58:32 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:58:33 | [Mutex] waiting for: [received:nodes:1bc4d29b-aaa8-4bb7-bcd3-eee5590d5d3f:localhost] 2023-01-10 21:58:33 | [Mutex] waiting for: [received:nodes:1bc4d29b-aaa8-4bb7-bcd3-eee5590d5d3f:localhost] 2023-01-10 21:58:33 | [Mutex] waiting for: [received:nodes:1bc4d29b-aaa8-4bb7-bcd3-eee5590d5d3f:localhost] 2023-01-10 21:58:33 | [Mutex] received everything. 2023-01-10 21:58:33 | [Mutex] isItemNotified: received:node:1bc4d29b-aaa8-4bb7-bcd3-eee5590d5d3f:localhost:node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2:Node 2b84d50d-b4f3-401b-97ef-51472d2c0fc2 :: true |
createSubnodes | 1.024s |
2023-01-10 21:58:33 |
2023-01-10 21:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:33 | ------------------------------------ 2023-01-10 21:58:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-92fc148e-a070-4383-846d-c6d92d048784</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 92fc148e-a070-4383-846d-c6d92d048784</title></pubsub></data> 2023-01-10 21:58:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:58:34 | [Mutex] waiting for: [received:nodes:24be54bb-b0da-4694-b806-9a85f6c8cc77:localhost] 2023-01-10 21:58:34 | [Mutex] waiting for: [received:nodes:24be54bb-b0da-4694-b806-9a85f6c8cc77:localhost] 2023-01-10 21:58:34 | [Mutex] waiting for: [received:nodes:24be54bb-b0da-4694-b806-9a85f6c8cc77:localhost] 2023-01-10 21:58:34 | [Mutex] waiting for: [received:nodes:24be54bb-b0da-4694-b806-9a85f6c8cc77:localhost] 2023-01-10 21:58:34 | [Mutex] received everything. 2023-01-10 21:58:34 | [Mutex] isItemNotified: received:node:24be54bb-b0da-4694-b806-9a85f6c8cc77:localhost:node-92fc148e-a070-4383-846d-c6d92d048784:Node 92fc148e-a070-4383-846d-c6d92d048784 :: true |
deleteNodes | 1.015s |
2023-01-10 21:58:40 |
2023-01-10 21:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:40 | ------------------------------------ 2023-01-10 21:58:40 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-92fc148e-a070-4383-846d-c6d92d048784</node></data> 2023-01-10 21:58:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:58:41 | [Mutex] waiting for: [received:nodes:f369c6f8-b011-4655-a304-3a31eb46fad9:localhost] 2023-01-10 21:58:41 | [Mutex] waiting for: [received:nodes:f369c6f8-b011-4655-a304-3a31eb46fad9:localhost] 2023-01-10 21:58:41 | [Mutex] waiting for: [received:nodes:f369c6f8-b011-4655-a304-3a31eb46fad9:localhost] 2023-01-10 21:58:41 | [Mutex] received everything. 2023-01-10 21:58:41 | [Mutex] isItemNotified: received:node:f369c6f8-b011-4655-a304-3a31eb46fad9:localhost:node-92fc148e-a070-4383-846d-c6d92d048784:Node 92fc148e-a070-4383-846d-c6d92d048784 :: false |
deleteSubnodes | 1.123s |
2023-01-10 21:58:39 |
2023-01-10 21:58:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:39 | ------------------------------------ 2023-01-10 21:58:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</node></data> 2023-01-10 21:58:39 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-01-10 21:58:40 | [Mutex] waiting for: [received:nodes:6d47982c-9cbc-4709-8857-63e2a571844c:localhost] 2023-01-10 21:58:40 | [Mutex] waiting for: [received:nodes:6d47982c-9cbc-4709-8857-63e2a571844c:localhost] 2023-01-10 21:58:40 | [Mutex] waiting for: [received:nodes:6d47982c-9cbc-4709-8857-63e2a571844c:localhost] 2023-01-10 21:58:40 | [Mutex] waiting for: [received:nodes:6d47982c-9cbc-4709-8857-63e2a571844c:localhost] 2023-01-10 21:58:40 | [Mutex] received everything. 2023-01-10 21:58:40 | [Mutex] isItemNotified: received:node:6d47982c-9cbc-4709-8857-63e2a571844c:localhost:node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2:Node 2b84d50d-b4f3-401b-97ef-51472d2c0fc2 :: false 2023-01-10 21:58:40 | [Mutex] waiting for: [received:nodes:452ce898-c597-41a8-8617-40dee6ea21e7:localhost] 2023-01-10 21:58:40 | [Mutex] received everything. 2023-01-10 21:58:40 | [Mutex] isItemNotified: received:node:452ce898-c597-41a8-8617-40dee6ea21e7:localhost:node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2:Node 2b84d50d-b4f3-401b-97ef-51472d2c0fc2 :: false |
publishItemsToNodes | 0.251s |
2023-01-10 21:58:36 |
2023-01-10 21:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:36 | ------------------------------------ 2023-01-10 21:58:36 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</node><item-id>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</item-id><entry><test>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</test></entry></data> 2023-01-10 21:58:37 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</value></item-id></result> 2023-01-10 21:58:37 | [Mutex] waiting for: [published:item:notifieditem-50ec516f-6b86-4586-94ea-37a5ea039a6f:admin@test-domain.com] 2023-01-10 21:58:37 | [Mutex] received everything. 2023-01-10 21:58:37 | [Mutex] isItemNotified: published:item:notifieditem-50ec516f-6b86-4586-94ea-37a5ea039a6f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.287s |
2023-01-10 21:58:37 |
2023-01-10 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:37 | ------------------------------------ 2023-01-10 21:58:37 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</node><item-id>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</item-id></data> 2023-01-10 21:58:37 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</value></item-id></result> 2023-01-10 21:58:37 | [Mutex] received everything. 2023-01-10 21:58:37 | [Mutex] isItemNotified: retracted:item:notifieditem-50ec516f-6b86-4586-94ea-37a5ea039a6f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.190s |
2023-01-10 21:58:37 |
2023-01-10 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:37 | ------------------------------------ 2023-01-10 21:58:37 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</node><item-id>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</item-id></data> 2023-01-10 21:58:37 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</value></node><item-id label="Item ID" type="text-single"><value>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</value></item-id><item label="Item" type="text-multi"><value><item id="item-50ec516f-6b86-4586-94ea-37a5ea039a6f"><test>item-50ec516f-6b86-4586-94ea-37a5ea039a6f</test></item></value></item></result> 2023-01-10 21:58:37 | [Mutex] notify: [retrieved:item:item-50ec516f-6b86-4586-94ea-37a5ea039a6f:payload-matches:true:localhost] 2023-01-10 21:58:37 | [Mutex] received everything. 2023-01-10 21:58:37 | [Mutex] isItemNotified: retrieved:item:item-50ec516f-6b86-4586-94ea-37a5ea039a6f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-01-10 21:58:37 |
2023-01-10 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:37 | ------------------------------------ 2023-01-10 21:58:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-01-10 21:58:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</value><value>node-92fc148e-a070-4383-846d-c6d92d048784</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-01-10 21:58:37 |
2023-01-10 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:37 | ------------------------------------ 2023-01-10 21:58:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2)</node-pattern></data> 2023-01-10 21:58:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.174s |
2023-01-10 21:58:35 |
2023-01-10 21:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:35 | ------------------------------------ 2023-01-10 21:58:35 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-10 21:58:35 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.227s |
2023-01-10 21:58:37 |
2023-01-10 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-01-10 21:58:37 | ------------------------------------ 2023-01-10 21:58:37 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2b84d50d-b4f3-401b-97ef-51472d2c0fc2</node><jids><value>admin@test-domain.com</value></jids></data> 2023-01-10 21:58:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |