Test duration : 9.664s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.084s |
2023-07-10 13:48:55 |
2023-07-10 13:48:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:55 | ------------------------------------ 2023-07-10 13:48:55 | [Mutex] waiting for: [configured:node:node-7f03431f-5535-4dc3-b26a-d964853ddefe:node-a043c2c1-6de3-4bec-90aa-9ef5e1980b5d] 2023-07-10 13:48:55 | [Mutex] received everything. 2023-07-10 13:48:55 | [Mutex] isItemNotified: configured:node:node-7f03431f-5535-4dc3-b26a-d964853ddefe:node-a043c2c1-6de3-4bec-90aa-9ef5e1980b5d :: true 2023-07-10 13:48:56 | [Mutex] waiting for: [received:nodes:c9f820cc-090e-446a-9bf7-5bf911063631:localhost] 2023-07-10 13:48:56 | [Mutex] received everything. 2023-07-10 13:48:56 | [Mutex] isItemNotified: received:node:c9f820cc-090e-446a-9bf7-5bf911063631:localhost:node-7f03431f-5535-4dc3-b26a-d964853ddefe:Node 7f03431f-5535-4dc3-b26a-d964853ddefe :: true 2023-07-10 13:48:56 | [Mutex] waiting for: [received:nodes:b0915485-bd6a-477e-87d6-f6b21352cfbe:localhost] 2023-07-10 13:48:56 | [Mutex] waiting for: [received:nodes:b0915485-bd6a-477e-87d6-f6b21352cfbe:localhost] 2023-07-10 13:48:56 | [Mutex] waiting for: [received:nodes:b0915485-bd6a-477e-87d6-f6b21352cfbe:localhost] 2023-07-10 13:48:56 | [Mutex] waiting for: [received:nodes:b0915485-bd6a-477e-87d6-f6b21352cfbe:localhost] 2023-07-10 13:48:56 | [Mutex] received everything. 2023-07-10 13:48:56 | [Mutex] isItemNotified: received:node:b0915485-bd6a-477e-87d6-f6b21352cfbe:localhost:node-7f03431f-5535-4dc3-b26a-d964853ddefe:Node 7f03431f-5535-4dc3-b26a-d964853ddefe :: false |
createNodes | 1.635s |
2023-07-10 13:48:52 |
2023-07-10 13:48:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:52 | ------------------------------------ 2023-07-10 13:48:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7f03431f-5535-4dc3-b26a-d964853ddefe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7f03431f-5535-4dc3-b26a-d964853ddefe</title></pubsub></data> 2023-07-10 13:48:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:48:54 | [Mutex] waiting for: [received:nodes:d9626d36-f446-4e25-ad2e-3a1c6b089b83:localhost] 2023-07-10 13:48:54 | [Mutex] waiting for: [received:nodes:d9626d36-f446-4e25-ad2e-3a1c6b089b83:localhost] 2023-07-10 13:48:54 | [Mutex] waiting for: [received:nodes:d9626d36-f446-4e25-ad2e-3a1c6b089b83:localhost] 2023-07-10 13:48:54 | [Mutex] received everything. 2023-07-10 13:48:54 | [Mutex] isItemNotified: received:node:d9626d36-f446-4e25-ad2e-3a1c6b089b83:localhost:node-7f03431f-5535-4dc3-b26a-d964853ddefe:Node 7f03431f-5535-4dc3-b26a-d964853ddefe :: true |
createSubnodes | 1.031s |
2023-07-10 13:48:54 |
2023-07-10 13:48:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:54 | ------------------------------------ 2023-07-10 13:48:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a043c2c1-6de3-4bec-90aa-9ef5e1980b5d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a043c2c1-6de3-4bec-90aa-9ef5e1980b5d</title></pubsub></data> 2023-07-10 13:48:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:48:55 | [Mutex] waiting for: [received:nodes:6663c8a5-f3f8-465c-8043-c6abbd3abba5:localhost] 2023-07-10 13:48:55 | [Mutex] waiting for: [received:nodes:6663c8a5-f3f8-465c-8043-c6abbd3abba5:localhost] 2023-07-10 13:48:55 | [Mutex] waiting for: [received:nodes:6663c8a5-f3f8-465c-8043-c6abbd3abba5:localhost] 2023-07-10 13:48:55 | [Mutex] waiting for: [received:nodes:6663c8a5-f3f8-465c-8043-c6abbd3abba5:localhost] 2023-07-10 13:48:55 | [Mutex] received everything. 2023-07-10 13:48:55 | [Mutex] isItemNotified: received:node:6663c8a5-f3f8-465c-8043-c6abbd3abba5:localhost:node-a043c2c1-6de3-4bec-90aa-9ef5e1980b5d:Node a043c2c1-6de3-4bec-90aa-9ef5e1980b5d :: true |
deleteNodes | 1.021s |
2023-07-10 13:49:00 |
2023-07-10 13:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:49:00 | ------------------------------------ 2023-07-10 13:49:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a043c2c1-6de3-4bec-90aa-9ef5e1980b5d</node></data> 2023-07-10 13:49:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:49:01 | [Mutex] waiting for: [received:nodes:e5140a0a-e973-4e40-8940-0753d4a6bffd:localhost] 2023-07-10 13:49:01 | [Mutex] waiting for: [received:nodes:e5140a0a-e973-4e40-8940-0753d4a6bffd:localhost] 2023-07-10 13:49:01 | [Mutex] waiting for: [received:nodes:e5140a0a-e973-4e40-8940-0753d4a6bffd:localhost] 2023-07-10 13:49:01 | [Mutex] received everything. 2023-07-10 13:49:01 | [Mutex] isItemNotified: received:node:e5140a0a-e973-4e40-8940-0753d4a6bffd:localhost:node-a043c2c1-6de3-4bec-90aa-9ef5e1980b5d:Node a043c2c1-6de3-4bec-90aa-9ef5e1980b5d :: false |
deleteSubnodes | 1.122s |
2023-07-10 13:48:59 |
2023-07-10 13:48:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:59 | ------------------------------------ 2023-07-10 13:48:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7f03431f-5535-4dc3-b26a-d964853ddefe</node></data> 2023-07-10 13:48:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-10 13:49:00 | [Mutex] waiting for: [received:nodes:0932e4ae-36b9-4fcc-b265-70965476d58c:localhost] 2023-07-10 13:49:00 | [Mutex] waiting for: [received:nodes:0932e4ae-36b9-4fcc-b265-70965476d58c:localhost] 2023-07-10 13:49:00 | [Mutex] waiting for: [received:nodes:0932e4ae-36b9-4fcc-b265-70965476d58c:localhost] 2023-07-10 13:49:00 | [Mutex] waiting for: [received:nodes:0932e4ae-36b9-4fcc-b265-70965476d58c:localhost] 2023-07-10 13:49:00 | [Mutex] received everything. 2023-07-10 13:49:00 | [Mutex] isItemNotified: received:node:0932e4ae-36b9-4fcc-b265-70965476d58c:localhost:node-7f03431f-5535-4dc3-b26a-d964853ddefe:Node 7f03431f-5535-4dc3-b26a-d964853ddefe :: false 2023-07-10 13:49:00 | [Mutex] waiting for: [received:nodes:0fed13f3-7121-4fce-bceb-84087ae769da:localhost] 2023-07-10 13:49:00 | [Mutex] received everything. 2023-07-10 13:49:00 | [Mutex] isItemNotified: received:node:0fed13f3-7121-4fce-bceb-84087ae769da:localhost:node-7f03431f-5535-4dc3-b26a-d964853ddefe:Node 7f03431f-5535-4dc3-b26a-d964853ddefe :: false |
publishItemsToNodes | 0.244s |
2023-07-10 13:48:57 |
2023-07-10 13:48:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:57 | ------------------------------------ 2023-07-10 13:48:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-7f03431f-5535-4dc3-b26a-d964853ddefe</node><item-id>item-5f475380-80dc-4c6e-a626-06d16cc56098</item-id><entry><test>item-5f475380-80dc-4c6e-a626-06d16cc56098</test></entry></data> 2023-07-10 13:48:57 | 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-5f475380-80dc-4c6e-a626-06d16cc56098</value></item-id></result> 2023-07-10 13:48:57 | [Mutex] waiting for: [published:item:notifieditem-5f475380-80dc-4c6e-a626-06d16cc56098:admin@test-domain.com] 2023-07-10 13:48:57 | [Mutex] received everything. 2023-07-10 13:48:57 | [Mutex] isItemNotified: published:item:notifieditem-5f475380-80dc-4c6e-a626-06d16cc56098:admin@test-domain.com :: true |
retractItemsFromNodes | 0.235s |
2023-07-10 13:48:58 |
2023-07-10 13:48:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:58 | ------------------------------------ 2023-07-10 13:48:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-7f03431f-5535-4dc3-b26a-d964853ddefe</node><item-id>item-5f475380-80dc-4c6e-a626-06d16cc56098</item-id></data> 2023-07-10 13:48:58 | 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-5f475380-80dc-4c6e-a626-06d16cc56098</value></item-id></result> 2023-07-10 13:48:58 | [Mutex] received everything. 2023-07-10 13:48:58 | [Mutex] isItemNotified: retracted:item:notifieditem-5f475380-80dc-4c6e-a626-06d16cc56098:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.225s |
2023-07-10 13:48:57 |
2023-07-10 13:48:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:57 | ------------------------------------ 2023-07-10 13:48:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-7f03431f-5535-4dc3-b26a-d964853ddefe</node><item-id>item-5f475380-80dc-4c6e-a626-06d16cc56098</item-id></data> 2023-07-10 13:48:57 | 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-7f03431f-5535-4dc3-b26a-d964853ddefe</value></node><item-id type="text-single" label="Item ID"><value>item-5f475380-80dc-4c6e-a626-06d16cc56098</value></item-id><item type="text-multi" label="Item"><value><item id="item-5f475380-80dc-4c6e-a626-06d16cc56098"><test>item-5f475380-80dc-4c6e-a626-06d16cc56098</test></item></value></item></result> 2023-07-10 13:48:57 | [Mutex] notify: [retrieved:item:item-5f475380-80dc-4c6e-a626-06d16cc56098:payload-matches:true:localhost] 2023-07-10 13:48:57 | [Mutex] received everything. 2023-07-10 13:48:57 | [Mutex] isItemNotified: retrieved:item:item-5f475380-80dc-4c6e-a626-06d16cc56098:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-10 13:48:57 |
2023-07-10 13:48:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:57 | ------------------------------------ 2023-07-10 13:48:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-10 13:48:58 | 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-7f03431f-5535-4dc3-b26a-d964853ddefe</value><value>node-a043c2c1-6de3-4bec-90aa-9ef5e1980b5d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2023-07-10 13:48:58 |
2023-07-10 13:48:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:58 | ------------------------------------ 2023-07-10 13:48:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7f03431f-5535-4dc3-b26a-d964853ddefe)</node-pattern></data> 2023-07-10 13:48:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.116s |
2023-07-10 13:48:56 |
2023-07-10 13:48:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:56 | ------------------------------------ 2023-07-10 13:48:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-7f03431f-5535-4dc3-b26a-d964853ddefe</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-10 13:48: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.247s |
2023-07-10 13:48:58 |
2023-07-10 13:48:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-10 13:48:58 | ------------------------------------ 2023-07-10 13:48:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-7f03431f-5535-4dc3-b26a-d964853ddefe</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-10 13:48:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |