Test duration : 9.470s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2022-12-16 21:48:45 |
2022-12-16 21:48:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:45 | ------------------------------------ 2022-12-16 21:48:45 | [Mutex] waiting for: [configured:node:node-7e1d2fd4-cd92-4173-8865-adebf0a61815:node-8b4f6b5f-aa76-400d-9065-99785e38a6ac] 2022-12-16 21:48:45 | [Mutex] received everything. 2022-12-16 21:48:45 | [Mutex] isItemNotified: configured:node:node-7e1d2fd4-cd92-4173-8865-adebf0a61815:node-8b4f6b5f-aa76-400d-9065-99785e38a6ac :: true 2022-12-16 21:48:46 | [Mutex] waiting for: [received:nodes:977cbd1f-e6b5-402a-b680-eb0e56e8bce3:localhost] 2022-12-16 21:48:46 | [Mutex] waiting for: [received:nodes:977cbd1f-e6b5-402a-b680-eb0e56e8bce3:localhost] 2022-12-16 21:48:46 | [Mutex] received everything. 2022-12-16 21:48:46 | [Mutex] isItemNotified: received:node:977cbd1f-e6b5-402a-b680-eb0e56e8bce3:localhost:node-7e1d2fd4-cd92-4173-8865-adebf0a61815:Node 7e1d2fd4-cd92-4173-8865-adebf0a61815 :: true 2022-12-16 21:48:46 | [Mutex] waiting for: [received:nodes:cee84b13-2a3a-4c31-bddc-386c6f6dfdf3:localhost] 2022-12-16 21:48:46 | [Mutex] waiting for: [received:nodes:cee84b13-2a3a-4c31-bddc-386c6f6dfdf3:localhost] 2022-12-16 21:48:46 | [Mutex] waiting for: [received:nodes:cee84b13-2a3a-4c31-bddc-386c6f6dfdf3:localhost] 2022-12-16 21:48:46 | [Mutex] waiting for: [received:nodes:cee84b13-2a3a-4c31-bddc-386c6f6dfdf3:localhost] 2022-12-16 21:48:46 | [Mutex] received everything. 2022-12-16 21:48:46 | [Mutex] isItemNotified: received:node:cee84b13-2a3a-4c31-bddc-386c6f6dfdf3:localhost:node-7e1d2fd4-cd92-4173-8865-adebf0a61815:Node 7e1d2fd4-cd92-4173-8865-adebf0a61815 :: false |
createNodes | 1.553s |
2022-12-16 21:48:42 |
2022-12-16 21:48:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:42 | ------------------------------------ 2022-12-16 21:48:42 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7e1d2fd4-cd92-4173-8865-adebf0a61815</title></pubsub></data> 2022-12-16 21:48:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:48:44 | [Mutex] waiting for: [received:nodes:a0c0049b-a725-4e48-8f55-07e2350402c9:localhost] 2022-12-16 21:48:44 | [Mutex] waiting for: [received:nodes:a0c0049b-a725-4e48-8f55-07e2350402c9:localhost] 2022-12-16 21:48:44 | [Mutex] waiting for: [received:nodes:a0c0049b-a725-4e48-8f55-07e2350402c9:localhost] 2022-12-16 21:48:44 | [Mutex] waiting for: [received:nodes:a0c0049b-a725-4e48-8f55-07e2350402c9:localhost] 2022-12-16 21:48:44 | [Mutex] received everything. 2022-12-16 21:48:44 | [Mutex] isItemNotified: received:node:a0c0049b-a725-4e48-8f55-07e2350402c9:localhost:node-7e1d2fd4-cd92-4173-8865-adebf0a61815:Node 7e1d2fd4-cd92-4173-8865-adebf0a61815 :: true |
createSubnodes | 1.020s |
2022-12-16 21:48:44 |
2022-12-16 21:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:44 | ------------------------------------ 2022-12-16 21:48:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8b4f6b5f-aa76-400d-9065-99785e38a6ac</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8b4f6b5f-aa76-400d-9065-99785e38a6ac</title></pubsub></data> 2022-12-16 21:48:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:48:45 | [Mutex] waiting for: [received:nodes:49099a24-c44f-4395-84f3-303e06ae77ed:localhost] 2022-12-16 21:48:45 | [Mutex] waiting for: [received:nodes:49099a24-c44f-4395-84f3-303e06ae77ed:localhost] 2022-12-16 21:48:45 | [Mutex] waiting for: [received:nodes:49099a24-c44f-4395-84f3-303e06ae77ed:localhost] 2022-12-16 21:48:45 | [Mutex] waiting for: [received:nodes:49099a24-c44f-4395-84f3-303e06ae77ed:localhost] 2022-12-16 21:48:45 | [Mutex] waiting for: [received:nodes:49099a24-c44f-4395-84f3-303e06ae77ed:localhost] 2022-12-16 21:48:45 | [Mutex] received everything. 2022-12-16 21:48:45 | [Mutex] isItemNotified: received:node:49099a24-c44f-4395-84f3-303e06ae77ed:localhost:node-8b4f6b5f-aa76-400d-9065-99785e38a6ac:Node 8b4f6b5f-aa76-400d-9065-99785e38a6ac :: true |
deleteNodes | 1.019s |
2022-12-16 21:48:50 |
2022-12-16 21:48:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:50 | ------------------------------------ 2022-12-16 21:48:50 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8b4f6b5f-aa76-400d-9065-99785e38a6ac</node></data> 2022-12-16 21:48:50 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:48:51 | [Mutex] waiting for: [received:nodes:39cfc37b-f64d-4599-81b3-986434084943:localhost] 2022-12-16 21:48:51 | [Mutex] waiting for: [received:nodes:39cfc37b-f64d-4599-81b3-986434084943:localhost] 2022-12-16 21:48:51 | [Mutex] received everything. 2022-12-16 21:48:51 | [Mutex] isItemNotified: received:node:39cfc37b-f64d-4599-81b3-986434084943:localhost:node-8b4f6b5f-aa76-400d-9065-99785e38a6ac:Node 8b4f6b5f-aa76-400d-9065-99785e38a6ac :: false |
deleteSubnodes | 1.110s |
2022-12-16 21:48:49 |
2022-12-16 21:48:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:49 | ------------------------------------ 2022-12-16 21:48:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</node></data> 2022-12-16 21:48:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-16 21:48:50 | [Mutex] waiting for: [received:nodes:e29942c7-01ce-49b9-93fd-d178d9b00a26:localhost] 2022-12-16 21:48:50 | [Mutex] waiting for: [received:nodes:e29942c7-01ce-49b9-93fd-d178d9b00a26:localhost] 2022-12-16 21:48:50 | [Mutex] waiting for: [received:nodes:e29942c7-01ce-49b9-93fd-d178d9b00a26:localhost] 2022-12-16 21:48:50 | [Mutex] waiting for: [received:nodes:e29942c7-01ce-49b9-93fd-d178d9b00a26:localhost] 2022-12-16 21:48:50 | [Mutex] received everything. 2022-12-16 21:48:50 | [Mutex] isItemNotified: received:node:e29942c7-01ce-49b9-93fd-d178d9b00a26:localhost:node-7e1d2fd4-cd92-4173-8865-adebf0a61815:Node 7e1d2fd4-cd92-4173-8865-adebf0a61815 :: false 2022-12-16 21:48:50 | [Mutex] waiting for: [received:nodes:23a7a3ff-2183-4c8a-ad83-e00427a4f119:localhost] 2022-12-16 21:48:50 | [Mutex] received everything. 2022-12-16 21:48:50 | [Mutex] isItemNotified: received:node:23a7a3ff-2183-4c8a-ad83-e00427a4f119:localhost:node-7e1d2fd4-cd92-4173-8865-adebf0a61815:Node 7e1d2fd4-cd92-4173-8865-adebf0a61815 :: false |
publishItemsToNodes | 0.236s |
2022-12-16 21:48:47 |
2022-12-16 21:48:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:47 | ------------------------------------ 2022-12-16 21:48:47 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</node><item-id>item-a059acfc-42e0-47be-b1cb-def81383f719</item-id><entry><test>item-a059acfc-42e0-47be-b1cb-def81383f719</test></entry></data> 2022-12-16 21:48:47 | 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-a059acfc-42e0-47be-b1cb-def81383f719</value></item-id></result> 2022-12-16 21:48:47 | [Mutex] waiting for: [published:item:notifieditem-a059acfc-42e0-47be-b1cb-def81383f719:admin@test-domain.com] 2022-12-16 21:48:47 | [Mutex] received everything. 2022-12-16 21:48:47 | [Mutex] isItemNotified: published:item:notifieditem-a059acfc-42e0-47be-b1cb-def81383f719:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-12-16 21:48:48 |
2022-12-16 21:48:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:48 | ------------------------------------ 2022-12-16 21:48:48 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</node><item-id>item-a059acfc-42e0-47be-b1cb-def81383f719</item-id></data> 2022-12-16 21:48:48 | 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-a059acfc-42e0-47be-b1cb-def81383f719</value></item-id></result> 2022-12-16 21:48:48 | [Mutex] received everything. 2022-12-16 21:48:48 | [Mutex] isItemNotified: retracted:item:notifieditem-a059acfc-42e0-47be-b1cb-def81383f719:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.213s |
2022-12-16 21:48:47 |
2022-12-16 21:48:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:47 | ------------------------------------ 2022-12-16 21:48:47 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</node><item-id>item-a059acfc-42e0-47be-b1cb-def81383f719</item-id></data> 2022-12-16 21:48:47 | 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-7e1d2fd4-cd92-4173-8865-adebf0a61815</value></node><item-id label="Item ID" type="text-single"><value>item-a059acfc-42e0-47be-b1cb-def81383f719</value></item-id><item label="Item" type="text-multi"><value><item id="item-a059acfc-42e0-47be-b1cb-def81383f719"><test>item-a059acfc-42e0-47be-b1cb-def81383f719</test></item></value></item></result> 2022-12-16 21:48:47 | [Mutex] notify: [retrieved:item:item-a059acfc-42e0-47be-b1cb-def81383f719:payload-matches:true:localhost] 2022-12-16 21:48:47 | [Mutex] received everything. 2022-12-16 21:48:47 | [Mutex] isItemNotified: retrieved:item:item-a059acfc-42e0-47be-b1cb-def81383f719:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-16 21:48:47 |
2022-12-16 21:48:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:47 | ------------------------------------ 2022-12-16 21:48:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-16 21:48:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</value><value>test</value><value>node-8b4f6b5f-aa76-400d-9065-99785e38a6ac</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-16 21:48:48 |
2022-12-16 21:48:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:48 | ------------------------------------ 2022-12-16 21:48:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7e1d2fd4-cd92-4173-8865-adebf0a61815)</node-pattern></data> 2022-12-16 21:48:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.105s |
2022-12-16 21:48:46 |
2022-12-16 21:48:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:46 | ------------------------------------ 2022-12-16 21:48:46 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 21:48:46 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2022-12-16 21:48:48 |
2022-12-16 21:48:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-16 21:48:48 | ------------------------------------ 2022-12-16 21:48:48 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7e1d2fd4-cd92-4173-8865-adebf0a61815</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-16 21:48:48 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |