Test duration : 9.408s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.124s |
2023-09-28 23:59:40 |
2023-09-28 23:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:40 | ------------------------------------ 2023-09-28 23:59:40 | [Mutex] waiting for: [configured:node:node-461f67d7-c2ff-406d-a002-056e7077967c:node-79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332] 2023-09-28 23:59:40 | [Mutex] received everything. 2023-09-28 23:59:40 | [Mutex] isItemNotified: configured:node:node-461f67d7-c2ff-406d-a002-056e7077967c:node-79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332 :: true 2023-09-28 23:59:41 | [Mutex] waiting for: [received:nodes:160a8dab-468d-487b-8cfb-d630ddf75ff9:localhost] 2023-09-28 23:59:41 | [Mutex] received everything. 2023-09-28 23:59:41 | [Mutex] isItemNotified: received:node:160a8dab-468d-487b-8cfb-d630ddf75ff9:localhost:node-461f67d7-c2ff-406d-a002-056e7077967c:Node 461f67d7-c2ff-406d-a002-056e7077967c :: true 2023-09-28 23:59:41 | [Mutex] waiting for: [received:nodes:b3e52a78-5c1b-4fcf-b5b8-4b9bb88b214e:localhost] 2023-09-28 23:59:41 | [Mutex] waiting for: [received:nodes:b3e52a78-5c1b-4fcf-b5b8-4b9bb88b214e:localhost] 2023-09-28 23:59:41 | [Mutex] waiting for: [received:nodes:b3e52a78-5c1b-4fcf-b5b8-4b9bb88b214e:localhost] 2023-09-28 23:59:41 | [Mutex] waiting for: [received:nodes:b3e52a78-5c1b-4fcf-b5b8-4b9bb88b214e:localhost] 2023-09-28 23:59:41 | [Mutex] received everything. 2023-09-28 23:59:41 | [Mutex] isItemNotified: received:node:b3e52a78-5c1b-4fcf-b5b8-4b9bb88b214e:localhost:node-461f67d7-c2ff-406d-a002-056e7077967c:Node 461f67d7-c2ff-406d-a002-056e7077967c :: false |
createNodes | 1.456s |
2023-09-28 23:59:37 |
2023-09-28 23:59:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:37 | ------------------------------------ 2023-09-28 23:59:37 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-461f67d7-c2ff-406d-a002-056e7077967c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 461f67d7-c2ff-406d-a002-056e7077967c</title></pubsub></data> 2023-09-28 23:59:38 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:59:39 | [Mutex] waiting for: [received:nodes:325b9947-3b84-4b30-865e-c35d2494d438:localhost] 2023-09-28 23:59:39 | [Mutex] waiting for: [received:nodes:325b9947-3b84-4b30-865e-c35d2494d438:localhost] 2023-09-28 23:59:39 | [Mutex] waiting for: [received:nodes:325b9947-3b84-4b30-865e-c35d2494d438:localhost] 2023-09-28 23:59:39 | [Mutex] waiting for: [received:nodes:325b9947-3b84-4b30-865e-c35d2494d438:localhost] 2023-09-28 23:59:39 | [Mutex] received everything. 2023-09-28 23:59:39 | [Mutex] isItemNotified: received:node:325b9947-3b84-4b30-865e-c35d2494d438:localhost:node-461f67d7-c2ff-406d-a002-056e7077967c:Node 461f67d7-c2ff-406d-a002-056e7077967c :: true |
createSubnodes | 1.029s |
2023-09-28 23:59:39 |
2023-09-28 23:59:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:39 | ------------------------------------ 2023-09-28 23:59:39 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332</title></pubsub></data> 2023-09-28 23:59:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:59:40 | [Mutex] waiting for: [received:nodes:ee1205ee-6c0c-48bc-8564-91ee3da0580c:localhost] 2023-09-28 23:59:40 | [Mutex] waiting for: [received:nodes:ee1205ee-6c0c-48bc-8564-91ee3da0580c:localhost] 2023-09-28 23:59:40 | [Mutex] waiting for: [received:nodes:ee1205ee-6c0c-48bc-8564-91ee3da0580c:localhost] 2023-09-28 23:59:40 | [Mutex] waiting for: [received:nodes:ee1205ee-6c0c-48bc-8564-91ee3da0580c:localhost] 2023-09-28 23:59:40 | [Mutex] waiting for: [received:nodes:ee1205ee-6c0c-48bc-8564-91ee3da0580c:localhost] 2023-09-28 23:59:40 | [Mutex] received everything. 2023-09-28 23:59:40 | [Mutex] isItemNotified: received:node:ee1205ee-6c0c-48bc-8564-91ee3da0580c:localhost:node-79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332:Node 79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332 :: true |
deleteNodes | 1.026s |
2023-09-28 23:59:45 |
2023-09-28 23:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:45 | ------------------------------------ 2023-09-28 23:59:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332</node></data> 2023-09-28 23:59:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:59:46 | [Mutex] waiting for: [received:nodes:84edcdce-5ebf-4589-9b94-e1849b050a6f:localhost] 2023-09-28 23:59:46 | [Mutex] waiting for: [received:nodes:84edcdce-5ebf-4589-9b94-e1849b050a6f:localhost] 2023-09-28 23:59:46 | [Mutex] waiting for: [received:nodes:84edcdce-5ebf-4589-9b94-e1849b050a6f:localhost] 2023-09-28 23:59:46 | [Mutex] received everything. 2023-09-28 23:59:46 | [Mutex] isItemNotified: received:node:84edcdce-5ebf-4589-9b94-e1849b050a6f:localhost:node-79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332:Node 79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332 :: false |
deleteSubnodes | 1.136s |
2023-09-28 23:59:44 |
2023-09-28 23:59:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:44 | ------------------------------------ 2023-09-28 23:59:44 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-461f67d7-c2ff-406d-a002-056e7077967c</node></data> 2023-09-28 23:59:44 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-09-28 23:59:45 | [Mutex] waiting for: [received:nodes:aea32d4b-df08-4f72-a0bd-b1ab1159ed1d:localhost] 2023-09-28 23:59:45 | [Mutex] waiting for: [received:nodes:aea32d4b-df08-4f72-a0bd-b1ab1159ed1d:localhost] 2023-09-28 23:59:45 | [Mutex] waiting for: [received:nodes:aea32d4b-df08-4f72-a0bd-b1ab1159ed1d:localhost] 2023-09-28 23:59:45 | [Mutex] received everything. 2023-09-28 23:59:45 | [Mutex] isItemNotified: received:node:aea32d4b-df08-4f72-a0bd-b1ab1159ed1d:localhost:node-461f67d7-c2ff-406d-a002-056e7077967c:Node 461f67d7-c2ff-406d-a002-056e7077967c :: false 2023-09-28 23:59:45 | [Mutex] waiting for: [received:nodes:735ab0ec-49f6-4f1a-aa9d-97dfe7dfd63c:localhost] 2023-09-28 23:59:45 | [Mutex] received everything. 2023-09-28 23:59:45 | [Mutex] isItemNotified: received:node:735ab0ec-49f6-4f1a-aa9d-97dfe7dfd63c:localhost:node-461f67d7-c2ff-406d-a002-056e7077967c:Node 461f67d7-c2ff-406d-a002-056e7077967c :: false |
publishItemsToNodes | 0.192s |
2023-09-28 23:59:42 |
2023-09-28 23:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:42 | ------------------------------------ 2023-09-28 23:59:42 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-461f67d7-c2ff-406d-a002-056e7077967c</node><item-id>item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</item-id><entry><test>item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</test></entry></data> 2023-09-28 23:59:42 | 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-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</value></item-id></result> 2023-09-28 23:59:42 | [Mutex] received everything. 2023-09-28 23:59:42 | [Mutex] isItemNotified: published:item:notifieditem-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.303s |
2023-09-28 23:59:42 |
2023-09-28 23:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:42 | ------------------------------------ 2023-09-28 23:59:42 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-461f67d7-c2ff-406d-a002-056e7077967c</node><item-id>item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</item-id></data> 2023-09-28 23:59:43 | 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-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</value></item-id></result> 2023-09-28 23:59:43 | [Mutex] received everything. 2023-09-28 23:59:43 | [Mutex] isItemNotified: retracted:item:notifieditem-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.174s |
2023-09-28 23:59:42 |
2023-09-28 23:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:42 | ------------------------------------ 2023-09-28 23:59:42 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-461f67d7-c2ff-406d-a002-056e7077967c</node><item-id>item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</item-id></data> 2023-09-28 23:59:42 | 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-461f67d7-c2ff-406d-a002-056e7077967c</value></node><item-id type="text-single" label="Item ID"><value>item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</value></item-id><item type="text-multi" label="Item"><value><item id="item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d"><test>item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d</test></item></value></item></result> 2023-09-28 23:59:42 | [Mutex] notify: [retrieved:item:item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d:payload-matches:true:localhost] 2023-09-28 23:59:42 | [Mutex] received everything. 2023-09-28 23:59:42 | [Mutex] isItemNotified: retrieved:item:item-43d0a282-10a4-4f3e-83d4-1f6b750a5f7d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-09-28 23:59:42 |
2023-09-28 23:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:42 | ------------------------------------ 2023-09-28 23:59:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-09-28 23:59:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-79d9b5c8-5ca7-4bbb-8129-f9b4b1cb2332</value><value>node-461f67d7-c2ff-406d-a002-056e7077967c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-09-28 23:59:42 |
2023-09-28 23:59:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:42 | ------------------------------------ 2023-09-28 23:59:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-461f67d7-c2ff-406d-a002-056e7077967c)</node-pattern></data> 2023-09-28 23:59:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.108s |
2023-09-28 23:59:41 |
2023-09-28 23:59:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:41 | ------------------------------------ 2023-09-28 23:59:41 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-461f67d7-c2ff-406d-a002-056e7077967c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-09-28 23:59:41 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.179s |
2023-09-28 23:59:43 |
2023-09-28 23:59:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-09-28 23:59:43 | ------------------------------------ 2023-09-28 23:59:43 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-461f67d7-c2ff-406d-a002-056e7077967c</node><jids><value>admin@test-domain.com</value></jids></data> 2023-09-28 23:59:43 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |