Test duration : 10.060s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2021-01-21 21:30:22 |
2021-01-21 21:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:22 | ------------------------------------ 2021-01-21 21:30:22 | [Mutex] waiting for: [configured:node:node-9fba8329-2098-407a-a891-1b63127696ea:node-3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7] 2021-01-21 21:30:22 | [Mutex] received everything. 2021-01-21 21:30:22 | [Mutex] isItemNotified: configured:node:node-9fba8329-2098-407a-a891-1b63127696ea:node-3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7 :: true 2021-01-21 21:30:23 | [Mutex] waiting for: [received:nodes:9bd8cf54-ea0a-4809-9b16-2fafcff19189:localhost] 2021-01-21 21:30:23 | [Mutex] received everything. 2021-01-21 21:30:23 | [Mutex] isItemNotified: received:node:9bd8cf54-ea0a-4809-9b16-2fafcff19189:localhost:node-9fba8329-2098-407a-a891-1b63127696ea:Node 9fba8329-2098-407a-a891-1b63127696ea :: true 2021-01-21 21:30:23 | [Mutex] waiting for: [received:nodes:d3cef39b-2ef6-41a0-b6b7-79d84382b815:localhost] 2021-01-21 21:30:23 | [Mutex] received everything. 2021-01-21 21:30:23 | [Mutex] isItemNotified: received:node:d3cef39b-2ef6-41a0-b6b7-79d84382b815:localhost:node-9fba8329-2098-407a-a891-1b63127696ea:Node 9fba8329-2098-407a-a891-1b63127696ea :: false |
createNodes | 1.443s |
2021-01-21 21:30:20 |
2021-01-21 21:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:20 | ------------------------------------ 2021-01-21 21:30:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9fba8329-2098-407a-a891-1b63127696ea</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9fba8329-2098-407a-a891-1b63127696ea</title></pubsub></data> 2021-01-21 21:30:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:21 | [Mutex] waiting for: [received:nodes:bc25cbf9-ed2c-459f-bcbb-dbfd084c58b0:localhost] 2021-01-21 21:30:21 | [Mutex] received everything. 2021-01-21 21:30:21 | [Mutex] isItemNotified: received:node:bc25cbf9-ed2c-459f-bcbb-dbfd084c58b0:localhost:node-9fba8329-2098-407a-a891-1b63127696ea:Node 9fba8329-2098-407a-a891-1b63127696ea :: true |
createSubnodes | 1.028s |
2021-01-21 21:30:21 |
2021-01-21 21:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:21 | ------------------------------------ 2021-01-21 21:30:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7</title></pubsub></data> 2021-01-21 21:30:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:22 | [Mutex] waiting for: [received:nodes:e0017fa2-dec7-46f9-b212-9d2932d5c86d:localhost] 2021-01-21 21:30:22 | [Mutex] waiting for: [received:nodes:e0017fa2-dec7-46f9-b212-9d2932d5c86d:localhost] 2021-01-21 21:30:22 | [Mutex] received everything. 2021-01-21 21:30:22 | [Mutex] isItemNotified: received:node:e0017fa2-dec7-46f9-b212-9d2932d5c86d:localhost:node-3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7:Node 3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7 :: true |
deleteNodes | 1.020s |
2021-01-21 21:30:28 |
2021-01-21 21:30:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:28 | ------------------------------------ 2021-01-21 21:30:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7</node></data> 2021-01-21 21:30:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:29 | [Mutex] waiting for: [received:nodes:327a0c3f-7d1b-41fe-81ed-4af2cf210c0b:localhost] 2021-01-21 21:30:29 | [Mutex] received everything. 2021-01-21 21:30:29 | [Mutex] isItemNotified: received:node:327a0c3f-7d1b-41fe-81ed-4af2cf210c0b:localhost:node-3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7:Node 3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7 :: false |
deleteSubnodes | 1.174s |
2021-01-21 21:30:26 |
2021-01-21 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:26 | ------------------------------------ 2021-01-21 21:30:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9fba8329-2098-407a-a891-1b63127696ea</node></data> 2021-01-21 21:30:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-21 21:30:28 | [Mutex] waiting for: [received:nodes:a5b6725a-74ff-4731-8659-446a649a6c86:localhost] 2021-01-21 21:30:28 | [Mutex] received everything. 2021-01-21 21:30:28 | [Mutex] isItemNotified: received:node:a5b6725a-74ff-4731-8659-446a649a6c86:localhost:node-9fba8329-2098-407a-a891-1b63127696ea:Node 9fba8329-2098-407a-a891-1b63127696ea :: false 2021-01-21 21:30:28 | [Mutex] waiting for: [received:nodes:c6e1d8cc-2e03-4fd2-bc50-4c608eb3abbb:localhost] 2021-01-21 21:30:28 | [Mutex] received everything. 2021-01-21 21:30:28 | [Mutex] isItemNotified: received:node:c6e1d8cc-2e03-4fd2-bc50-4c608eb3abbb:localhost:node-9fba8329-2098-407a-a891-1b63127696ea:Node 9fba8329-2098-407a-a891-1b63127696ea :: false |
publishItemsToNodes | 0.230s |
2021-01-21 21:30:24 |
2021-01-21 21:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:24 | ------------------------------------ 2021-01-21 21:30:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-9fba8329-2098-407a-a891-1b63127696ea</node><item-id>item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</item-id><entry><test>item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</test></entry></data> 2021-01-21 21:30:24 | 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-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</value></item-id></result> 2021-01-21 21:30:24 | [Mutex] waiting for: [published:item:notifieditem-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d:admin@test-domain.com] 2021-01-21 21:30:24 | [Mutex] received everything. 2021-01-21 21:30:24 | [Mutex] isItemNotified: published:item:notifieditem-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.320s |
2021-01-21 21:30:25 |
2021-01-21 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:25 | ------------------------------------ 2021-01-21 21:30:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-9fba8329-2098-407a-a891-1b63127696ea</node><item-id>item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</item-id></data> 2021-01-21 21:30:25 | 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-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</value></item-id></result> 2021-01-21 21:30:25 | [Mutex] received everything. 2021-01-21 21:30:25 | [Mutex] isItemNotified: retracted:item:notifieditem-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.240s |
2021-01-21 21:30:24 |
2021-01-21 21:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:24 | ------------------------------------ 2021-01-21 21:30:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-9fba8329-2098-407a-a891-1b63127696ea</node><item-id>item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</item-id></data> 2021-01-21 21:30:25 | 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-9fba8329-2098-407a-a891-1b63127696ea</value></node><item-id label="Item ID" type="text-single"><value>item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</value></item-id><item label="Item" type="text-multi"><value><item id="item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d"><test>item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d</test></item></value></item></result> 2021-01-21 21:30:25 | [Mutex] notify: [retrieved:item:item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d:payload-matches:true:localhost] 2021-01-21 21:30:25 | [Mutex] received everything. 2021-01-21 21:30:25 | [Mutex] isItemNotified: retrieved:item:item-b98bc6ac-72ca-49b3-ae6a-c62c8f59ea5d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-01-21 21:30:25 |
2021-01-21 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:25 | ------------------------------------ 2021-01-21 21:30:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-21 21:30:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-9fba8329-2098-407a-a891-1b63127696ea</value><value>test</value><value>node-3dd4b646-9670-4a1f-a6db-1c3f1a8b27b7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2021-01-21 21:30:25 |
2021-01-21 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:25 | ------------------------------------ 2021-01-21 21:30:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9fba8329-2098-407a-a891-1b63127696ea)</node-pattern></data> 2021-01-21 21:30:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.113s |
2021-01-21 21:30:23 |
2021-01-21 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:23 | ------------------------------------ 2021-01-21 21:30:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-9fba8329-2098-407a-a891-1b63127696ea</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-21 21:30:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.299s |
2021-01-21 21:30:25 |
2021-01-21 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-21 21:30:25 | ------------------------------------ 2021-01-21 21:30:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-9fba8329-2098-407a-a891-1b63127696ea</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-21 21:30:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |