Test duration : 9.502s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2022-08-23 22:34:11 |
2022-08-23 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:11 | ------------------------------------ 2022-08-23 22:34:11 | [Mutex] waiting for: [configured:node:node-4e4db4a6-b76a-4db6-92fa-4ad839028f24:node-adbec451-7f88-47d1-8c66-39f274e8aea5] 2022-08-23 22:34:11 | [Mutex] received everything. 2022-08-23 22:34:11 | [Mutex] isItemNotified: configured:node:node-4e4db4a6-b76a-4db6-92fa-4ad839028f24:node-adbec451-7f88-47d1-8c66-39f274e8aea5 :: true 2022-08-23 22:34:12 | [Mutex] waiting for: [received:nodes:b2879af4-d955-4ec4-aa6c-9cf144cc80cd:localhost] 2022-08-23 22:34:12 | [Mutex] received everything. 2022-08-23 22:34:12 | [Mutex] isItemNotified: received:node:b2879af4-d955-4ec4-aa6c-9cf144cc80cd:localhost:node-4e4db4a6-b76a-4db6-92fa-4ad839028f24:Node 4e4db4a6-b76a-4db6-92fa-4ad839028f24 :: true 2022-08-23 22:34:12 | [Mutex] waiting for: [received:nodes:cace2660-7b3a-49c0-a099-d668cf4571ff:localhost] 2022-08-23 22:34:12 | [Mutex] waiting for: [received:nodes:cace2660-7b3a-49c0-a099-d668cf4571ff:localhost] 2022-08-23 22:34:12 | [Mutex] waiting for: [received:nodes:cace2660-7b3a-49c0-a099-d668cf4571ff:localhost] 2022-08-23 22:34:12 | [Mutex] waiting for: [received:nodes:cace2660-7b3a-49c0-a099-d668cf4571ff:localhost] 2022-08-23 22:34:12 | [Mutex] received everything. 2022-08-23 22:34:12 | [Mutex] isItemNotified: received:node:cace2660-7b3a-49c0-a099-d668cf4571ff:localhost:node-4e4db4a6-b76a-4db6-92fa-4ad839028f24:Node 4e4db4a6-b76a-4db6-92fa-4ad839028f24 :: false |
createNodes | 1.464s |
2022-08-23 22:34:09 |
2022-08-23 22:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:09 | ------------------------------------ 2022-08-23 22:34:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e4db4a6-b76a-4db6-92fa-4ad839028f24</title></pubsub></data> 2022-08-23 22:34:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:34:10 | [Mutex] waiting for: [received:nodes:762edc14-7719-47d8-a9dc-8e96e1d21a90:localhost] 2022-08-23 22:34:10 | [Mutex] received everything. 2022-08-23 22:34:10 | [Mutex] isItemNotified: received:node:762edc14-7719-47d8-a9dc-8e96e1d21a90:localhost:node-4e4db4a6-b76a-4db6-92fa-4ad839028f24:Node 4e4db4a6-b76a-4db6-92fa-4ad839028f24 :: true |
createSubnodes | 1.027s |
2022-08-23 22:34:10 |
2022-08-23 22:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:10 | ------------------------------------ 2022-08-23 22:34:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-adbec451-7f88-47d1-8c66-39f274e8aea5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node adbec451-7f88-47d1-8c66-39f274e8aea5</title></pubsub></data> 2022-08-23 22:34:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:34:11 | [Mutex] waiting for: [received:nodes:536d44ba-54a6-498c-83ca-7b5210684e15:localhost] 2022-08-23 22:34:11 | [Mutex] waiting for: [received:nodes:536d44ba-54a6-498c-83ca-7b5210684e15:localhost] 2022-08-23 22:34:11 | [Mutex] received everything. 2022-08-23 22:34:11 | [Mutex] isItemNotified: received:node:536d44ba-54a6-498c-83ca-7b5210684e15:localhost:node-adbec451-7f88-47d1-8c66-39f274e8aea5:Node adbec451-7f88-47d1-8c66-39f274e8aea5 :: true |
deleteNodes | 1.018s |
2022-08-23 22:34:16 |
2022-08-23 22:34:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:16 | ------------------------------------ 2022-08-23 22:34:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-adbec451-7f88-47d1-8c66-39f274e8aea5</node></data> 2022-08-23 22:34:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:34:17 | [Mutex] waiting for: [received:nodes:c6d89f45-b1aa-4978-8460-c8d4bf015650:localhost] 2022-08-23 22:34:17 | [Mutex] received everything. 2022-08-23 22:34:17 | [Mutex] isItemNotified: received:node:c6d89f45-b1aa-4978-8460-c8d4bf015650:localhost:node-adbec451-7f88-47d1-8c66-39f274e8aea5:Node adbec451-7f88-47d1-8c66-39f274e8aea5 :: false |
deleteSubnodes | 1.113s |
2022-08-23 22:34:15 |
2022-08-23 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:15 | ------------------------------------ 2022-08-23 22:34:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</node></data> 2022-08-23 22:34:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-23 22:34:16 | [Mutex] waiting for: [received:nodes:7aa267ae-ba1a-4205-bf47-cb5f3653ca73:localhost] 2022-08-23 22:34:16 | [Mutex] received everything. 2022-08-23 22:34:16 | [Mutex] isItemNotified: received:node:7aa267ae-ba1a-4205-bf47-cb5f3653ca73:localhost:node-4e4db4a6-b76a-4db6-92fa-4ad839028f24:Node 4e4db4a6-b76a-4db6-92fa-4ad839028f24 :: false 2022-08-23 22:34:16 | [Mutex] waiting for: [received:nodes:aa233103-e03c-4448-94b2-4fddbffcd0d0:localhost] 2022-08-23 22:34:16 | [Mutex] received everything. 2022-08-23 22:34:16 | [Mutex] isItemNotified: received:node:aa233103-e03c-4448-94b2-4fddbffcd0d0:localhost:node-4e4db4a6-b76a-4db6-92fa-4ad839028f24:Node 4e4db4a6-b76a-4db6-92fa-4ad839028f24 :: false |
publishItemsToNodes | 0.231s |
2022-08-23 22:34:13 |
2022-08-23 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:13 | ------------------------------------ 2022-08-23 22:34:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</node><item-id>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</item-id><entry><test>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</test></entry></data> 2022-08-23 22:34:14 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</value></item-id></result> 2022-08-23 22:34:14 | [Mutex] received everything. 2022-08-23 22:34:14 | [Mutex] isItemNotified: published:item:notifieditem-0a0a7684-a362-4c43-a989-3fc4d23171a1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.295s |
2022-08-23 22:34:14 |
2022-08-23 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:14 | ------------------------------------ 2022-08-23 22:34:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</node><item-id>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</item-id></data> 2022-08-23 22:34:14 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</value></item-id></result> 2022-08-23 22:34:14 | [Mutex] received everything. 2022-08-23 22:34:14 | [Mutex] isItemNotified: retracted:item:notifieditem-0a0a7684-a362-4c43-a989-3fc4d23171a1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.146s |
2022-08-23 22:34:14 |
2022-08-23 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:14 | ------------------------------------ 2022-08-23 22:34:14 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</node><item-id>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</item-id></data> 2022-08-23 22:34:14 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</value></node><item-id type="text-single" label="Item ID"><value>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</value></item-id><item type="text-multi" label="Item"><value><item id="item-0a0a7684-a362-4c43-a989-3fc4d23171a1"><test>item-0a0a7684-a362-4c43-a989-3fc4d23171a1</test></item></value></item></result> 2022-08-23 22:34:14 | [Mutex] notify: [retrieved:item:item-0a0a7684-a362-4c43-a989-3fc4d23171a1:payload-matches:true:localhost] 2022-08-23 22:34:14 | [Mutex] received everything. 2022-08-23 22:34:14 | [Mutex] isItemNotified: retrieved:item:item-0a0a7684-a362-4c43-a989-3fc4d23171a1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-23 22:34:14 |
2022-08-23 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:14 | ------------------------------------ 2022-08-23 22:34:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-23 22:34:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</value><value>node-adbec451-7f88-47d1-8c66-39f274e8aea5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2022-08-23 22:34:14 |
2022-08-23 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:14 | ------------------------------------ 2022-08-23 22:34:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e4db4a6-b76a-4db6-92fa-4ad839028f24)</node-pattern></data> 2022-08-23 22:34:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.138s |
2022-08-23 22:34:12 |
2022-08-23 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:12 | ------------------------------------ 2022-08-23 22:34:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-23 22:34:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-08-23 22:34:14 |
2022-08-23 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-23 22:34:14 | ------------------------------------ 2022-08-23 22:34:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4e4db4a6-b76a-4db6-92fa-4ad839028f24</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-23 22:34:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |