Test duration : 9.867s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.096s |
2020-10-01 22:30:35 |
2020-10-01 22:30:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:35 | ------------------------------------ 2020-10-01 22:30:35 | [Mutex] waiting for: [configured:node:node-d00b4d0d-385f-4585-ac0d-93458f419c9d:node-9951b83b-c4c1-4f48-9b3c-29520d52337a] 2020-10-01 22:30:35 | [Mutex] received everything. 2020-10-01 22:30:35 | [Mutex] isItemNotified: configured:node:node-d00b4d0d-385f-4585-ac0d-93458f419c9d:node-9951b83b-c4c1-4f48-9b3c-29520d52337a :: true 2020-10-01 22:30:36 | [Mutex] waiting for: [received:nodes:f526f59a-6e15-4320-b3fb-af03bae5cd2f:localhost] 2020-10-01 22:30:36 | [Mutex] received everything. 2020-10-01 22:30:36 | [Mutex] isItemNotified: received:node:f526f59a-6e15-4320-b3fb-af03bae5cd2f:localhost:node-d00b4d0d-385f-4585-ac0d-93458f419c9d:Node d00b4d0d-385f-4585-ac0d-93458f419c9d :: true 2020-10-01 22:30:36 | [Mutex] waiting for: [received:nodes:4d29bdc3-814a-4062-9d66-db9221a75511:localhost] 2020-10-01 22:30:36 | [Mutex] received everything. 2020-10-01 22:30:36 | [Mutex] isItemNotified: received:node:4d29bdc3-814a-4062-9d66-db9221a75511:localhost:node-d00b4d0d-385f-4585-ac0d-93458f419c9d:Node d00b4d0d-385f-4585-ac0d-93458f419c9d :: false |
createNodes | 1.456s |
2020-10-01 22:30:33 |
2020-10-01 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:33 | ------------------------------------ 2020-10-01 22:30:33 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d00b4d0d-385f-4585-ac0d-93458f419c9d</title></pubsub></data> 2020-10-01 22:30:33 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 22:30:34 | [Mutex] waiting for: [received:nodes:56bf0d1c-703c-4e69-b20f-2bd53f4112bf:localhost] 2020-10-01 22:30:34 | [Mutex] received everything. 2020-10-01 22:30:34 | [Mutex] isItemNotified: received:node:56bf0d1c-703c-4e69-b20f-2bd53f4112bf:localhost:node-d00b4d0d-385f-4585-ac0d-93458f419c9d:Node d00b4d0d-385f-4585-ac0d-93458f419c9d :: true |
createSubnodes | 1.028s |
2020-10-01 22:30:34 |
2020-10-01 22:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:34 | ------------------------------------ 2020-10-01 22:30:34 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9951b83b-c4c1-4f48-9b3c-29520d52337a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9951b83b-c4c1-4f48-9b3c-29520d52337a</title></pubsub></data> 2020-10-01 22:30:34 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 22:30:35 | [Mutex] waiting for: [received:nodes:b646ce56-bbdd-4e33-a97d-018c417e07d5:localhost] 2020-10-01 22:30:35 | [Mutex] received everything. 2020-10-01 22:30:35 | [Mutex] isItemNotified: received:node:b646ce56-bbdd-4e33-a97d-018c417e07d5:localhost:node-9951b83b-c4c1-4f48-9b3c-29520d52337a:Node 9951b83b-c4c1-4f48-9b3c-29520d52337a :: true |
deleteNodes | 1.016s |
2020-10-01 22:30:41 |
2020-10-01 22:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:41 | ------------------------------------ 2020-10-01 22:30:41 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9951b83b-c4c1-4f48-9b3c-29520d52337a</node></data> 2020-10-01 22:30:41 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 22:30:42 | [Mutex] waiting for: [received:nodes:f065b688-8c8f-4ffc-9ea7-fa24a766e129:localhost] 2020-10-01 22:30:42 | [Mutex] waiting for: [received:nodes:f065b688-8c8f-4ffc-9ea7-fa24a766e129:localhost] 2020-10-01 22:30:42 | [Mutex] received everything. 2020-10-01 22:30:42 | [Mutex] isItemNotified: received:node:f065b688-8c8f-4ffc-9ea7-fa24a766e129:localhost:node-9951b83b-c4c1-4f48-9b3c-29520d52337a:Node 9951b83b-c4c1-4f48-9b3c-29520d52337a :: false |
deleteSubnodes | 1.122s |
2020-10-01 22:30:39 |
2020-10-01 22:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:39 | ------------------------------------ 2020-10-01 22:30:39 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</node></data> 2020-10-01 22:30:40 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-01 22:30:41 | [Mutex] waiting for: [received:nodes:5644ddc6-c07c-46b8-acd1-64a025d0f042:localhost] 2020-10-01 22:30:41 | [Mutex] waiting for: [received:nodes:5644ddc6-c07c-46b8-acd1-64a025d0f042:localhost] 2020-10-01 22:30:41 | [Mutex] waiting for: [received:nodes:5644ddc6-c07c-46b8-acd1-64a025d0f042:localhost] 2020-10-01 22:30:41 | [Mutex] waiting for: [received:nodes:5644ddc6-c07c-46b8-acd1-64a025d0f042:localhost] 2020-10-01 22:30:41 | [Mutex] received everything. 2020-10-01 22:30:41 | [Mutex] isItemNotified: received:node:5644ddc6-c07c-46b8-acd1-64a025d0f042:localhost:node-d00b4d0d-385f-4585-ac0d-93458f419c9d:Node d00b4d0d-385f-4585-ac0d-93458f419c9d :: false 2020-10-01 22:30:41 | [Mutex] waiting for: [received:nodes:20181f08-169e-4fcf-9f85-6ccd5583f838:localhost] 2020-10-01 22:30:41 | [Mutex] received everything. 2020-10-01 22:30:41 | [Mutex] isItemNotified: received:node:20181f08-169e-4fcf-9f85-6ccd5583f838:localhost:node-d00b4d0d-385f-4585-ac0d-93458f419c9d:Node d00b4d0d-385f-4585-ac0d-93458f419c9d :: false |
publishItemsToNodes | 0.213s |
2020-10-01 22:30:37 |
2020-10-01 22:30:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:37 | ------------------------------------ 2020-10-01 22:30:37 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</node><item-id>item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</item-id><entry><test>item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</test></entry></data> 2020-10-01 22:30:38 | 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-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</value></item-id></result> 2020-10-01 22:30:38 | [Mutex] received everything. 2020-10-01 22:30:38 | [Mutex] isItemNotified: published:item:notifieditem-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.207s |
2020-10-01 22:30:38 |
2020-10-01 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:38 | ------------------------------------ 2020-10-01 22:30:38 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</node><item-id>item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</item-id></data> 2020-10-01 22:30:38 | 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-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</value></item-id></result> 2020-10-01 22:30:38 | [Mutex] received everything. 2020-10-01 22:30:38 | [Mutex] isItemNotified: retracted:item:notifieditem-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.295s |
2020-10-01 22:30:38 |
2020-10-01 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:38 | ------------------------------------ 2020-10-01 22:30:38 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</node><item-id>item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</item-id></data> 2020-10-01 22:30:38 | 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-d00b4d0d-385f-4585-ac0d-93458f419c9d</value></node><item-id label="Item ID" type="text-single"><value>item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</value></item-id><item label="Item" type="text-multi"><value><item id="item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2"><test>item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2</test></item></value></item></result> 2020-10-01 22:30:38 | [Mutex] notify: [retrieved:item:item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2:payload-matches:true:localhost] 2020-10-01 22:30:38 | [Mutex] received everything. 2020-10-01 22:30:38 | [Mutex] isItemNotified: retrieved:item:item-0e09c3f1-1896-4a4c-9361-c8c3c10c84c2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2020-10-01 22:30:38 |
2020-10-01 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:38 | ------------------------------------ 2020-10-01 22:30:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-01 22:30:38 | 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-9951b83b-c4c1-4f48-9b3c-29520d52337a</value><value>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-10-01 22:30:38 |
2020-10-01 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:38 | ------------------------------------ 2020-10-01 22:30:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d00b4d0d-385f-4585-ac0d-93458f419c9d)</node-pattern></data> 2020-10-01 22:30:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.127s |
2020-10-01 22:30:36 |
2020-10-01 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:36 | ------------------------------------ 2020-10-01 22:30:36 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-01 22:30:36 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.282s |
2020-10-01 22:30:38 |
2020-10-01 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-01 22:30:38 | ------------------------------------ 2020-10-01 22:30:38 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d00b4d0d-385f-4585-ac0d-93458f419c9d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-01 22:30:38 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |