Test duration : 10.326s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.138s |
2022-02-23 21:46:18 |
2022-02-23 21:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:18 | ------------------------------------ 2022-02-23 21:46:18 | [Mutex] waiting for: [configured:node:node-0666e19d-55a0-446e-8d83-6d5f8247ad60:node-dec1889d-768b-40a5-a88f-6b2ad0e6feac] 2022-02-23 21:46:18 | [Mutex] received everything. 2022-02-23 21:46:18 | [Mutex] isItemNotified: configured:node:node-0666e19d-55a0-446e-8d83-6d5f8247ad60:node-dec1889d-768b-40a5-a88f-6b2ad0e6feac :: true 2022-02-23 21:46:19 | [Mutex] waiting for: [received:nodes:83ff450b-f8e7-4ce6-8483-b2c4492f25d8:localhost] 2022-02-23 21:46:19 | [Mutex] waiting for: [received:nodes:83ff450b-f8e7-4ce6-8483-b2c4492f25d8:localhost] 2022-02-23 21:46:19 | [Mutex] received everything. 2022-02-23 21:46:19 | [Mutex] isItemNotified: received:node:83ff450b-f8e7-4ce6-8483-b2c4492f25d8:localhost:node-0666e19d-55a0-446e-8d83-6d5f8247ad60:Node 0666e19d-55a0-446e-8d83-6d5f8247ad60 :: true 2022-02-23 21:46:20 | [Mutex] waiting for: [received:nodes:81aea27a-bab2-43a8-8be8-dca03100a578:localhost] 2022-02-23 21:46:20 | [Mutex] received everything. 2022-02-23 21:46:20 | [Mutex] isItemNotified: received:node:81aea27a-bab2-43a8-8be8-dca03100a578:localhost:node-0666e19d-55a0-446e-8d83-6d5f8247ad60:Node 0666e19d-55a0-446e-8d83-6d5f8247ad60 :: false |
createNodes | 1.520s |
2022-02-23 21:46:16 |
2022-02-23 21:46:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:16 | ------------------------------------ 2022-02-23 21:46:16 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0666e19d-55a0-446e-8d83-6d5f8247ad60</title></pubsub></data> 2022-02-23 21:46:16 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-23 21:46:17 | [Mutex] waiting for: [received:nodes:4dcf47b5-1020-4ebe-879e-0745c5caa415:localhost] 2022-02-23 21:46:17 | [Mutex] received everything. 2022-02-23 21:46:17 | [Mutex] isItemNotified: received:node:4dcf47b5-1020-4ebe-879e-0745c5caa415:localhost:node-0666e19d-55a0-446e-8d83-6d5f8247ad60:Node 0666e19d-55a0-446e-8d83-6d5f8247ad60 :: true |
createSubnodes | 1.034s |
2022-02-23 21:46:17 |
2022-02-23 21:46:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:17 | ------------------------------------ 2022-02-23 21:46:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dec1889d-768b-40a5-a88f-6b2ad0e6feac</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dec1889d-768b-40a5-a88f-6b2ad0e6feac</title></pubsub></data> 2022-02-23 21:46:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-23 21:46:18 | [Mutex] waiting for: [received:nodes:0c0981e2-1de6-4412-b92d-0c9076b9bfd5:localhost] 2022-02-23 21:46:18 | [Mutex] received everything. 2022-02-23 21:46:18 | [Mutex] isItemNotified: received:node:0c0981e2-1de6-4412-b92d-0c9076b9bfd5:localhost:node-dec1889d-768b-40a5-a88f-6b2ad0e6feac:Node dec1889d-768b-40a5-a88f-6b2ad0e6feac :: true |
deleteNodes | 1.032s |
2022-02-23 21:46:24 |
2022-02-23 21:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:24 | ------------------------------------ 2022-02-23 21:46:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dec1889d-768b-40a5-a88f-6b2ad0e6feac</node></data> 2022-02-23 21:46:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-23 21:46:25 | [Mutex] waiting for: [received:nodes:94d8c115-1f9b-4a7d-b87a-b8960f2f43b0:localhost] 2022-02-23 21:46:25 | [Mutex] received everything. 2022-02-23 21:46:25 | [Mutex] isItemNotified: received:node:94d8c115-1f9b-4a7d-b87a-b8960f2f43b0:localhost:node-dec1889d-768b-40a5-a88f-6b2ad0e6feac:Node dec1889d-768b-40a5-a88f-6b2ad0e6feac :: false |
deleteSubnodes | 1.143s |
2022-02-23 21:46:23 |
2022-02-23 21:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:23 | ------------------------------------ 2022-02-23 21:46:23 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</node></data> 2022-02-23 21:46:23 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-02-23 21:46:24 | [Mutex] waiting for: [received:nodes:8ef7f7c6-d663-4ea1-9c74-c06afcdb0027:localhost] 2022-02-23 21:46:24 | [Mutex] waiting for: [received:nodes:8ef7f7c6-d663-4ea1-9c74-c06afcdb0027:localhost] 2022-02-23 21:46:24 | [Mutex] received everything. 2022-02-23 21:46:24 | [Mutex] isItemNotified: received:node:8ef7f7c6-d663-4ea1-9c74-c06afcdb0027:localhost:node-0666e19d-55a0-446e-8d83-6d5f8247ad60:Node 0666e19d-55a0-446e-8d83-6d5f8247ad60 :: false 2022-02-23 21:46:24 | [Mutex] waiting for: [received:nodes:9e32c72e-fdc1-49d6-94a4-732ff9a95207:localhost] 2022-02-23 21:46:24 | [Mutex] received everything. 2022-02-23 21:46:24 | [Mutex] isItemNotified: received:node:9e32c72e-fdc1-49d6-94a4-732ff9a95207:localhost:node-0666e19d-55a0-446e-8d83-6d5f8247ad60:Node 0666e19d-55a0-446e-8d83-6d5f8247ad60 :: false |
publishItemsToNodes | 0.344s |
2022-02-23 21:46:21 |
2022-02-23 21:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:21 | ------------------------------------ 2022-02-23 21:46:21 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</node><item-id>item-e397f9f5-aecc-4830-992b-fde2d35ae1f9</item-id><entry><test>item-e397f9f5-aecc-4830-992b-fde2d35ae1f9</test></entry></data> 2022-02-23 21:46:21 | 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-e397f9f5-aecc-4830-992b-fde2d35ae1f9</value></item-id></result> 2022-02-23 21:46:21 | [Mutex] received everything. 2022-02-23 21:46:21 | [Mutex] isItemNotified: published:item:notifieditem-e397f9f5-aecc-4830-992b-fde2d35ae1f9:admin@test-domain.com :: true |
retractItemsFromNodes | 0.343s |
2022-02-23 21:46:21 |
2022-02-23 21:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:21 | ------------------------------------ 2022-02-23 21:46:21 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</node><item-id>item-e397f9f5-aecc-4830-992b-fde2d35ae1f9</item-id></data> 2022-02-23 21:46:22 | 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-e397f9f5-aecc-4830-992b-fde2d35ae1f9</value></item-id></result> 2022-02-23 21:46:22 | [Mutex] received everything. 2022-02-23 21:46:22 | [Mutex] isItemNotified: retracted:item:notifieditem-e397f9f5-aecc-4830-992b-fde2d35ae1f9:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.279s |
2022-02-23 21:46:21 |
2022-02-23 21:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:21 | ------------------------------------ 2022-02-23 21:46:21 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</node><item-id>item-e397f9f5-aecc-4830-992b-fde2d35ae1f9</item-id></data> 2022-02-23 21:46:21 | 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-0666e19d-55a0-446e-8d83-6d5f8247ad60</value></node><item-id label="Item ID" type="text-single"><value>item-e397f9f5-aecc-4830-992b-fde2d35ae1f9</value></item-id><item label="Item" type="text-multi"><value><item id="item-e397f9f5-aecc-4830-992b-fde2d35ae1f9"><test>item-e397f9f5-aecc-4830-992b-fde2d35ae1f9</test></item></value></item></result> 2022-02-23 21:46:21 | [Mutex] notify: [retrieved:item:item-e397f9f5-aecc-4830-992b-fde2d35ae1f9:payload-matches:true:localhost] 2022-02-23 21:46:21 | [Mutex] received everything. 2022-02-23 21:46:21 | [Mutex] isItemNotified: retrieved:item:item-e397f9f5-aecc-4830-992b-fde2d35ae1f9:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-02-23 21:46:21 |
2022-02-23 21:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:21 | ------------------------------------ 2022-02-23 21:46:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-02-23 21:46:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-dec1889d-768b-40a5-a88f-6b2ad0e6feac</value><value>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2022-02-23 21:46:21 |
2022-02-23 21:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:21 | ------------------------------------ 2022-02-23 21:46:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0666e19d-55a0-446e-8d83-6d5f8247ad60)</node-pattern></data> 2022-02-23 21:46:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.165s |
2022-02-23 21:46:20 |
2022-02-23 21:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:20 | ------------------------------------ 2022-02-23 21:46:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-23 21:46:20 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.223s |
2022-02-23 21:46:22 |
2022-02-23 21:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-02-23 21:46:22 | ------------------------------------ 2022-02-23 21:46:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0666e19d-55a0-446e-8d83-6d5f8247ad60</node><jids><value>admin@test-domain.com</value></jids></data> 2022-02-23 21:46:22 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |