Test duration : 10.118s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.088s |
2021-09-22 23:07:57 |
2021-09-22 23:07:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:07:57 | ------------------------------------ 2021-09-22 23:07:57 | [Mutex] waiting for: [configured:node:node-91979da0-9d01-4076-88aa-28dc107061ba:node-9ed446c4-aa11-4829-8d03-c8ecb75cbb0a] 2021-09-22 23:07:57 | [Mutex] received everything. 2021-09-22 23:07:57 | [Mutex] isItemNotified: configured:node:node-91979da0-9d01-4076-88aa-28dc107061ba:node-9ed446c4-aa11-4829-8d03-c8ecb75cbb0a :: true 2021-09-22 23:07:58 | [Mutex] waiting for: [received:nodes:90f1d3f7-83c0-4a54-b9d5-3b4bbeb6e4ee:localhost] 2021-09-22 23:07:58 | [Mutex] received everything. 2021-09-22 23:07:58 | [Mutex] isItemNotified: received:node:90f1d3f7-83c0-4a54-b9d5-3b4bbeb6e4ee:localhost:node-91979da0-9d01-4076-88aa-28dc107061ba:Node 91979da0-9d01-4076-88aa-28dc107061ba :: true 2021-09-22 23:07:58 | [Mutex] waiting for: [received:nodes:e4bace6e-eaa6-4a65-9e79-043d59da77ea:localhost] 2021-09-22 23:07:58 | [Mutex] received everything. 2021-09-22 23:07:58 | [Mutex] isItemNotified: received:node:e4bace6e-eaa6-4a65-9e79-043d59da77ea:localhost:node-91979da0-9d01-4076-88aa-28dc107061ba:Node 91979da0-9d01-4076-88aa-28dc107061ba :: false |
createNodes | 1.561s |
2021-09-22 23:07:54 |
2021-09-22 23:07:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:07:54 | ------------------------------------ 2021-09-22 23:07:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-91979da0-9d01-4076-88aa-28dc107061ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 91979da0-9d01-4076-88aa-28dc107061ba</title></pubsub></data> 2021-09-22 23:07:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:07:56 | [Mutex] waiting for: [received:nodes:7d55aed8-71af-4290-b227-bad20746b629:localhost] 2021-09-22 23:07:56 | [Mutex] waiting for: [received:nodes:7d55aed8-71af-4290-b227-bad20746b629:localhost] 2021-09-22 23:07:56 | [Mutex] received everything. 2021-09-22 23:07:56 | [Mutex] isItemNotified: received:node:7d55aed8-71af-4290-b227-bad20746b629:localhost:node-91979da0-9d01-4076-88aa-28dc107061ba:Node 91979da0-9d01-4076-88aa-28dc107061ba :: true |
createSubnodes | 1.031s |
2021-09-22 23:07:56 |
2021-09-22 23:07:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:07:56 | ------------------------------------ 2021-09-22 23:07:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9ed446c4-aa11-4829-8d03-c8ecb75cbb0a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9ed446c4-aa11-4829-8d03-c8ecb75cbb0a</title></pubsub></data> 2021-09-22 23:07:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:07:57 | [Mutex] waiting for: [received:nodes:c123157f-e9f3-434c-b1b4-2906f17b56ba:localhost] 2021-09-22 23:07:57 | [Mutex] received everything. 2021-09-22 23:07:57 | [Mutex] isItemNotified: received:node:c123157f-e9f3-434c-b1b4-2906f17b56ba:localhost:node-9ed446c4-aa11-4829-8d03-c8ecb75cbb0a:Node 9ed446c4-aa11-4829-8d03-c8ecb75cbb0a :: true |
deleteNodes | 1.027s |
2021-09-22 23:08:03 |
2021-09-22 23:08:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:08:03 | ------------------------------------ 2021-09-22 23:08:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9ed446c4-aa11-4829-8d03-c8ecb75cbb0a</node></data> 2021-09-22 23:08:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:08:04 | [Mutex] waiting for: [received:nodes:d242427f-df7c-4ee2-aaba-007aa55b8f25:localhost] 2021-09-22 23:08:04 | [Mutex] received everything. 2021-09-22 23:08:04 | [Mutex] isItemNotified: received:node:d242427f-df7c-4ee2-aaba-007aa55b8f25:localhost:node-9ed446c4-aa11-4829-8d03-c8ecb75cbb0a:Node 9ed446c4-aa11-4829-8d03-c8ecb75cbb0a :: false |
deleteSubnodes | 1.136s |
2021-09-22 23:08:01 |
2021-09-22 23:08:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:08:01 | ------------------------------------ 2021-09-22 23:08:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-91979da0-9d01-4076-88aa-28dc107061ba</node></data> 2021-09-22 23:08:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-22 23:08:03 | [Mutex] waiting for: [received:nodes:0434ad03-b79b-468c-bb9e-fe5b93b39698:localhost] 2021-09-22 23:08:03 | [Mutex] waiting for: [received:nodes:0434ad03-b79b-468c-bb9e-fe5b93b39698:localhost] 2021-09-22 23:08:03 | [Mutex] waiting for: [received:nodes:0434ad03-b79b-468c-bb9e-fe5b93b39698:localhost] 2021-09-22 23:08:03 | [Mutex] received everything. 2021-09-22 23:08:03 | [Mutex] isItemNotified: received:node:0434ad03-b79b-468c-bb9e-fe5b93b39698:localhost:node-91979da0-9d01-4076-88aa-28dc107061ba:Node 91979da0-9d01-4076-88aa-28dc107061ba :: false 2021-09-22 23:08:03 | [Mutex] waiting for: [received:nodes:7660e0fa-a638-4253-a61d-5f46c1642966:localhost] 2021-09-22 23:08:03 | [Mutex] received everything. 2021-09-22 23:08:03 | [Mutex] isItemNotified: received:node:7660e0fa-a638-4253-a61d-5f46c1642966:localhost:node-91979da0-9d01-4076-88aa-28dc107061ba:Node 91979da0-9d01-4076-88aa-28dc107061ba :: false |
publishItemsToNodes | 0.272s |
2021-09-22 23:07:59 |
2021-09-22 23:07:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:07:59 | ------------------------------------ 2021-09-22 23:07:59 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-91979da0-9d01-4076-88aa-28dc107061ba</node><item-id>item-fcad538b-6a53-4bfd-a196-5aa322a52d5c</item-id><entry><test>item-fcad538b-6a53-4bfd-a196-5aa322a52d5c</test></entry></data> 2021-09-22 23:08:00 | 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-fcad538b-6a53-4bfd-a196-5aa322a52d5c</value></item-id></result> 2021-09-22 23:08:00 | [Mutex] waiting for: [published:item:notifieditem-fcad538b-6a53-4bfd-a196-5aa322a52d5c:admin@test-domain.com] 2021-09-22 23:08:00 | [Mutex] received everything. 2021-09-22 23:08:00 | [Mutex] isItemNotified: published:item:notifieditem-fcad538b-6a53-4bfd-a196-5aa322a52d5c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.227s |
2021-09-22 23:08:00 |
2021-09-22 23:08:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:08:00 | ------------------------------------ 2021-09-22 23:08:00 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-91979da0-9d01-4076-88aa-28dc107061ba</node><item-id>item-fcad538b-6a53-4bfd-a196-5aa322a52d5c</item-id></data> 2021-09-22 23:08:00 | 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-fcad538b-6a53-4bfd-a196-5aa322a52d5c</value></item-id></result> 2021-09-22 23:08:00 | [Mutex] received everything. 2021-09-22 23:08:00 | [Mutex] isItemNotified: retracted:item:notifieditem-fcad538b-6a53-4bfd-a196-5aa322a52d5c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.355s |
2021-09-22 23:08:00 |
2021-09-22 23:08:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:08:00 | ------------------------------------ 2021-09-22 23:08:00 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-91979da0-9d01-4076-88aa-28dc107061ba</node><item-id>item-fcad538b-6a53-4bfd-a196-5aa322a52d5c</item-id></data> 2021-09-22 23:08:00 | 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-91979da0-9d01-4076-88aa-28dc107061ba</value></node><item-id type="text-single" label="Item ID"><value>item-fcad538b-6a53-4bfd-a196-5aa322a52d5c</value></item-id><item type="text-multi" label="Item"><value><item id="item-fcad538b-6a53-4bfd-a196-5aa322a52d5c"><test>item-fcad538b-6a53-4bfd-a196-5aa322a52d5c</test></item></value></item></result> 2021-09-22 23:08:00 | [Mutex] notify: [retrieved:item:item-fcad538b-6a53-4bfd-a196-5aa322a52d5c:payload-matches:true:localhost] 2021-09-22 23:08:00 | [Mutex] received everything. 2021-09-22 23:08:00 | [Mutex] isItemNotified: retrieved:item:item-fcad538b-6a53-4bfd-a196-5aa322a52d5c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.064s |
2021-09-22 23:08:00 |
2021-09-22 23:08:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:08:00 | ------------------------------------ 2021-09-22 23:08:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-22 23:08:00 | 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-9ed446c4-aa11-4829-8d03-c8ecb75cbb0a</value><value>node-91979da0-9d01-4076-88aa-28dc107061ba</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.061s |
2021-09-22 23:08:00 |
2021-09-22 23:08:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:08:00 | ------------------------------------ 2021-09-22 23:08:00 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-91979da0-9d01-4076-88aa-28dc107061ba)</node-pattern></data> 2021-09-22 23:08:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.186s |
2021-09-22 23:07:58 |
2021-09-22 23:07:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:07:58 | ------------------------------------ 2021-09-22 23:07:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-91979da0-9d01-4076-88aa-28dc107061ba</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 23:07:58 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.243s |
2021-09-22 23:08:00 |
2021-09-22 23:08:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-22 23:08:00 | ------------------------------------ 2021-09-22 23:08:00 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-91979da0-9d01-4076-88aa-28dc107061ba</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-22 23:08:00 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |