Test duration : 9.551s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.084s |
2022-09-26 22:34:54 |
2022-09-26 22:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:54 | ------------------------------------ 2022-09-26 22:34:54 | [Mutex] waiting for: [configured:node:node-909e23bb-aaa5-442d-aafc-0890b4f61fe4:node-f4e924dd-64fc-4677-b33f-f3349f6f1a5f] 2022-09-26 22:34:55 | [Mutex] received everything. 2022-09-26 22:34:55 | [Mutex] isItemNotified: configured:node:node-909e23bb-aaa5-442d-aafc-0890b4f61fe4:node-f4e924dd-64fc-4677-b33f-f3349f6f1a5f :: true 2022-09-26 22:34:56 | [Mutex] waiting for: [received:nodes:97d98495-486a-4b04-bfc4-589f54a0aa9b:localhost] 2022-09-26 22:34:56 | [Mutex] received everything. 2022-09-26 22:34:56 | [Mutex] isItemNotified: received:node:97d98495-486a-4b04-bfc4-589f54a0aa9b:localhost:node-909e23bb-aaa5-442d-aafc-0890b4f61fe4:Node 909e23bb-aaa5-442d-aafc-0890b4f61fe4 :: true 2022-09-26 22:34:56 | [Mutex] waiting for: [received:nodes:7b17fc73-931f-42ab-9d36-d19ff1a6f4b8:localhost] 2022-09-26 22:34:56 | [Mutex] received everything. 2022-09-26 22:34:56 | [Mutex] isItemNotified: received:node:7b17fc73-931f-42ab-9d36-d19ff1a6f4b8:localhost:node-909e23bb-aaa5-442d-aafc-0890b4f61fe4:Node 909e23bb-aaa5-442d-aafc-0890b4f61fe4 :: false |
createNodes | 1.388s |
2022-09-26 22:34:52 |
2022-09-26 22:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:52 | ------------------------------------ 2022-09-26 22:34:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 909e23bb-aaa5-442d-aafc-0890b4f61fe4</title></pubsub></data> 2022-09-26 22:34:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:34:53 | [Mutex] waiting for: [received:nodes:2a09ecac-879d-4f02-baf6-cad0055a2601:localhost] 2022-09-26 22:34:53 | [Mutex] waiting for: [received:nodes:2a09ecac-879d-4f02-baf6-cad0055a2601:localhost] 2022-09-26 22:34:53 | [Mutex] received everything. 2022-09-26 22:34:53 | [Mutex] isItemNotified: received:node:2a09ecac-879d-4f02-baf6-cad0055a2601:localhost:node-909e23bb-aaa5-442d-aafc-0890b4f61fe4:Node 909e23bb-aaa5-442d-aafc-0890b4f61fe4 :: true |
createSubnodes | 1.025s |
2022-09-26 22:34:53 |
2022-09-26 22:34:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:53 | ------------------------------------ 2022-09-26 22:34:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f4e924dd-64fc-4677-b33f-f3349f6f1a5f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f4e924dd-64fc-4677-b33f-f3349f6f1a5f</title></pubsub></data> 2022-09-26 22:34:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:34:54 | [Mutex] waiting for: [received:nodes:99bd67b7-81e0-4054-a70e-221fa8c3a9ee:localhost] 2022-09-26 22:34:54 | [Mutex] received everything. 2022-09-26 22:34:54 | [Mutex] isItemNotified: received:node:99bd67b7-81e0-4054-a70e-221fa8c3a9ee:localhost:node-f4e924dd-64fc-4677-b33f-f3349f6f1a5f:Node f4e924dd-64fc-4677-b33f-f3349f6f1a5f :: true |
deleteNodes | 1.022s |
2022-09-26 22:35:00 |
2022-09-26 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:35:00 | ------------------------------------ 2022-09-26 22:35:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f4e924dd-64fc-4677-b33f-f3349f6f1a5f</node></data> 2022-09-26 22:35:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:35:01 | [Mutex] waiting for: [received:nodes:e1d623b0-07dc-48b7-86d3-bb6d9fd45a67:localhost] 2022-09-26 22:35:01 | [Mutex] received everything. 2022-09-26 22:35:01 | [Mutex] isItemNotified: received:node:e1d623b0-07dc-48b7-86d3-bb6d9fd45a67:localhost:node-f4e924dd-64fc-4677-b33f-f3349f6f1a5f:Node f4e924dd-64fc-4677-b33f-f3349f6f1a5f :: false |
deleteSubnodes | 1.143s |
2022-09-26 22:34:59 |
2022-09-26 22:34:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:59 | ------------------------------------ 2022-09-26 22:34:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</node></data> 2022-09-26 22:34:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-09-26 22:35:00 | [Mutex] waiting for: [received:nodes:c1e6393c-165d-425a-802a-cb9894e9f366:localhost] 2022-09-26 22:35:00 | [Mutex] received everything. 2022-09-26 22:35:00 | [Mutex] isItemNotified: received:node:c1e6393c-165d-425a-802a-cb9894e9f366:localhost:node-909e23bb-aaa5-442d-aafc-0890b4f61fe4:Node 909e23bb-aaa5-442d-aafc-0890b4f61fe4 :: false 2022-09-26 22:35:00 | [Mutex] waiting for: [received:nodes:6fb5f0ba-a5c1-4554-ace9-d69e449405b2:localhost] 2022-09-26 22:35:00 | [Mutex] received everything. 2022-09-26 22:35:00 | [Mutex] isItemNotified: received:node:6fb5f0ba-a5c1-4554-ace9-d69e449405b2:localhost:node-909e23bb-aaa5-442d-aafc-0890b4f61fe4:Node 909e23bb-aaa5-442d-aafc-0890b4f61fe4 :: false |
publishItemsToNodes | 0.306s |
2022-09-26 22:34:57 |
2022-09-26 22:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:57 | ------------------------------------ 2022-09-26 22:34:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</node><item-id>item-13899eb2-3ec1-458f-a523-307276d4ea1b</item-id><entry><test>item-13899eb2-3ec1-458f-a523-307276d4ea1b</test></entry></data> 2022-09-26 22:34:57 | 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-13899eb2-3ec1-458f-a523-307276d4ea1b</value></item-id></result> 2022-09-26 22:34:57 | [Mutex] received everything. 2022-09-26 22:34:57 | [Mutex] isItemNotified: published:item:notifieditem-13899eb2-3ec1-458f-a523-307276d4ea1b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2022-09-26 22:34:57 |
2022-09-26 22:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:57 | ------------------------------------ 2022-09-26 22:34:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</node><item-id>item-13899eb2-3ec1-458f-a523-307276d4ea1b</item-id></data> 2022-09-26 22:34:58 | 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-13899eb2-3ec1-458f-a523-307276d4ea1b</value></item-id></result> 2022-09-26 22:34:58 | [Mutex] waiting for: [retracted:item:notifieditem-13899eb2-3ec1-458f-a523-307276d4ea1b:admin@test-domain.com] 2022-09-26 22:34:58 | [Mutex] received everything. 2022-09-26 22:34:58 | [Mutex] isItemNotified: retracted:item:notifieditem-13899eb2-3ec1-458f-a523-307276d4ea1b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.251s |
2022-09-26 22:34:57 |
2022-09-26 22:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:57 | ------------------------------------ 2022-09-26 22:34:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</node><item-id>item-13899eb2-3ec1-458f-a523-307276d4ea1b</item-id></data> 2022-09-26 22:34:57 | 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-909e23bb-aaa5-442d-aafc-0890b4f61fe4</value></node><item-id label="Item ID" type="text-single"><value>item-13899eb2-3ec1-458f-a523-307276d4ea1b</value></item-id><item label="Item" type="text-multi"><value><item id="item-13899eb2-3ec1-458f-a523-307276d4ea1b"><test>item-13899eb2-3ec1-458f-a523-307276d4ea1b</test></item></value></item></result> 2022-09-26 22:34:57 | [Mutex] notify: [retrieved:item:item-13899eb2-3ec1-458f-a523-307276d4ea1b:payload-matches:true:localhost] 2022-09-26 22:34:57 | [Mutex] received everything. 2022-09-26 22:34:57 | [Mutex] isItemNotified: retrieved:item:item-13899eb2-3ec1-458f-a523-307276d4ea1b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-09-26 22:34:57 |
2022-09-26 22:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:57 | ------------------------------------ 2022-09-26 22:34:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-09-26 22:34:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</value><value>node-f4e924dd-64fc-4677-b33f-f3349f6f1a5f</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-09-26 22:34:57 |
2022-09-26 22:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:57 | ------------------------------------ 2022-09-26 22:34:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-909e23bb-aaa5-442d-aafc-0890b4f61fe4)</node-pattern></data> 2022-09-26 22:34:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.104s |
2022-09-26 22:34:56 |
2022-09-26 22:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:56 | ------------------------------------ 2022-09-26 22:34:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-26 22:34:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.184s |
2022-09-26 22:34:58 |
2022-09-26 22:34:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-09-26 22:34:58 | ------------------------------------ 2022-09-26 22:34:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-909e23bb-aaa5-442d-aafc-0890b4f61fe4</node><jids><value>admin@test-domain.com</value></jids></data> 2022-09-26 22:34:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |