Test duration : 9.539s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.082s |
2022-06-27 23:01:32 |
2022-06-27 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:32 | ------------------------------------ 2022-06-27 23:01:32 | [Mutex] waiting for: [configured:node:node-e9b56273-4e35-456e-8623-75f6763ea285:node-b1376f9c-6e75-4ab2-b9b2-09998703bb1f] 2022-06-27 23:01:33 | [Mutex] received everything. 2022-06-27 23:01:33 | [Mutex] isItemNotified: configured:node:node-e9b56273-4e35-456e-8623-75f6763ea285:node-b1376f9c-6e75-4ab2-b9b2-09998703bb1f :: true 2022-06-27 23:01:34 | [Mutex] waiting for: [received:nodes:0682fd06-dcdf-42bf-85a6-802a3bdfff15:localhost] 2022-06-27 23:01:34 | [Mutex] received everything. 2022-06-27 23:01:34 | [Mutex] isItemNotified: received:node:0682fd06-dcdf-42bf-85a6-802a3bdfff15:localhost:node-e9b56273-4e35-456e-8623-75f6763ea285:Node e9b56273-4e35-456e-8623-75f6763ea285 :: true 2022-06-27 23:01:34 | [Mutex] waiting for: [received:nodes:dbf89821-913b-4cb8-accd-59dd6c36ee3a:localhost] 2022-06-27 23:01:34 | [Mutex] received everything. 2022-06-27 23:01:34 | [Mutex] isItemNotified: received:node:dbf89821-913b-4cb8-accd-59dd6c36ee3a:localhost:node-e9b56273-4e35-456e-8623-75f6763ea285:Node e9b56273-4e35-456e-8623-75f6763ea285 :: false |
createNodes | 1.438s |
2022-06-27 23:01:30 |
2022-06-27 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:30 | ------------------------------------ 2022-06-27 23:01:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e9b56273-4e35-456e-8623-75f6763ea285</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e9b56273-4e35-456e-8623-75f6763ea285</title></pubsub></data> 2022-06-27 23:01:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:01:31 | [Mutex] waiting for: [received:nodes:627a8da1-7dbd-4fac-93df-da5703cacaa9:localhost] 2022-06-27 23:01:31 | [Mutex] received everything. 2022-06-27 23:01:31 | [Mutex] isItemNotified: received:node:627a8da1-7dbd-4fac-93df-da5703cacaa9:localhost:node-e9b56273-4e35-456e-8623-75f6763ea285:Node e9b56273-4e35-456e-8623-75f6763ea285 :: true |
createSubnodes | 1.026s |
2022-06-27 23:01:31 |
2022-06-27 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:31 | ------------------------------------ 2022-06-27 23:01:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b1376f9c-6e75-4ab2-b9b2-09998703bb1f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b1376f9c-6e75-4ab2-b9b2-09998703bb1f</title></pubsub></data> 2022-06-27 23:01:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:01:32 | [Mutex] waiting for: [received:nodes:b019d17d-973f-4686-a922-c6395edf786a:localhost] 2022-06-27 23:01:32 | [Mutex] received everything. 2022-06-27 23:01:32 | [Mutex] isItemNotified: received:node:b019d17d-973f-4686-a922-c6395edf786a:localhost:node-b1376f9c-6e75-4ab2-b9b2-09998703bb1f:Node b1376f9c-6e75-4ab2-b9b2-09998703bb1f :: true |
deleteNodes | 1.022s |
2022-06-27 23:01:38 |
2022-06-27 23:01:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:38 | ------------------------------------ 2022-06-27 23:01:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b1376f9c-6e75-4ab2-b9b2-09998703bb1f</node></data> 2022-06-27 23:01:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:01:39 | [Mutex] waiting for: [received:nodes:f1d7797e-49ae-4dae-a54a-2a0a855f004f:localhost] 2022-06-27 23:01:39 | [Mutex] received everything. 2022-06-27 23:01:39 | [Mutex] isItemNotified: received:node:f1d7797e-49ae-4dae-a54a-2a0a855f004f:localhost:node-b1376f9c-6e75-4ab2-b9b2-09998703bb1f:Node b1376f9c-6e75-4ab2-b9b2-09998703bb1f :: false |
deleteSubnodes | 1.126s |
2022-06-27 23:01:37 |
2022-06-27 23:01:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:37 | ------------------------------------ 2022-06-27 23:01:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e9b56273-4e35-456e-8623-75f6763ea285</node></data> 2022-06-27 23:01:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:01:38 | [Mutex] waiting for: [received:nodes:30b4f9b4-59ba-4f38-a0d0-752a1ae746ba:localhost] 2022-06-27 23:01:38 | [Mutex] waiting for: [received:nodes:30b4f9b4-59ba-4f38-a0d0-752a1ae746ba:localhost] 2022-06-27 23:01:38 | [Mutex] waiting for: [received:nodes:30b4f9b4-59ba-4f38-a0d0-752a1ae746ba:localhost] 2022-06-27 23:01:38 | [Mutex] received everything. 2022-06-27 23:01:38 | [Mutex] isItemNotified: received:node:30b4f9b4-59ba-4f38-a0d0-752a1ae746ba:localhost:node-e9b56273-4e35-456e-8623-75f6763ea285:Node e9b56273-4e35-456e-8623-75f6763ea285 :: false 2022-06-27 23:01:38 | [Mutex] waiting for: [received:nodes:db0c7451-9544-4561-84ce-4c2ff2d29299:localhost] 2022-06-27 23:01:38 | [Mutex] received everything. 2022-06-27 23:01:38 | [Mutex] isItemNotified: received:node:db0c7451-9544-4561-84ce-4c2ff2d29299:localhost:node-e9b56273-4e35-456e-8623-75f6763ea285:Node e9b56273-4e35-456e-8623-75f6763ea285 :: false |
publishItemsToNodes | 0.191s |
2022-06-27 23:01:35 |
2022-06-27 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:35 | ------------------------------------ 2022-06-27 23:01:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e9b56273-4e35-456e-8623-75f6763ea285</node><item-id>item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</item-id><entry><test>item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</test></entry></data> 2022-06-27 23:01:35 | 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-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</value></item-id></result> 2022-06-27 23:01:35 | [Mutex] waiting for: [published:item:notifieditem-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27:admin@test-domain.com] 2022-06-27 23:01:35 | [Mutex] received everything. 2022-06-27 23:01:35 | [Mutex] isItemNotified: published:item:notifieditem-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27:admin@test-domain.com :: true |
retractItemsFromNodes | 0.327s |
2022-06-27 23:01:35 |
2022-06-27 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:35 | ------------------------------------ 2022-06-27 23:01:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e9b56273-4e35-456e-8623-75f6763ea285</node><item-id>item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</item-id></data> 2022-06-27 23:01:36 | 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-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</value></item-id></result> 2022-06-27 23:01:36 | [Mutex] received everything. 2022-06-27 23:01:36 | [Mutex] isItemNotified: retracted:item:notifieditem-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.218s |
2022-06-27 23:01:35 |
2022-06-27 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:35 | ------------------------------------ 2022-06-27 23:01:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e9b56273-4e35-456e-8623-75f6763ea285</node><item-id>item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</item-id></data> 2022-06-27 23:01:35 | 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-e9b56273-4e35-456e-8623-75f6763ea285</value></node><item-id type="text-single" label="Item ID"><value>item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</value></item-id><item type="text-multi" label="Item"><value><item id="item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27"><test>item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27</test></item></value></item></result> 2022-06-27 23:01:35 | [Mutex] notify: [retrieved:item:item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27:payload-matches:true:localhost] 2022-06-27 23:01:35 | [Mutex] received everything. 2022-06-27 23:01:35 | [Mutex] isItemNotified: retrieved:item:item-f8efbd5c-e7b3-45bd-b4c7-69890a7aeb27:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-06-27 23:01:35 |
2022-06-27 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:35 | ------------------------------------ 2022-06-27 23:01:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-27 23:01:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-b1376f9c-6e75-4ab2-b9b2-09998703bb1f</value><value>test</value><value>node-e9b56273-4e35-456e-8623-75f6763ea285</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.056s |
2022-06-27 23:01:35 |
2022-06-27 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:35 | ------------------------------------ 2022-06-27 23:01:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e9b56273-4e35-456e-8623-75f6763ea285)</node-pattern></data> 2022-06-27 23:01:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.143s |
2022-06-27 23:01:34 |
2022-06-27 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:34 | ------------------------------------ 2022-06-27 23:01:34 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e9b56273-4e35-456e-8623-75f6763ea285</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-27 23:01:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-06-27 23:01:36 |
2022-06-27 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:01:36 | ------------------------------------ 2022-06-27 23:01:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e9b56273-4e35-456e-8623-75f6763ea285</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-27 23:01:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |