Generated by TestNG with ReportNG at 22:45 PDT on Tuesday 04 July 2023
root@1512af24e4a5 / Java 17.0.6 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.377s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.089s
2023-07-04 23:00:18 |

2023-07-04 23:00:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:18 | ------------------------------------

2023-07-04 23:00:18 | [Mutex] waiting for: [configured:node:node-20cf1319-65e6-41f7-a4e0-842b1160976b:node-29aef9c5-9679-4618-ac6d-e0195b7dd7c5]

2023-07-04 23:00:18 | [Mutex] received everything.

2023-07-04 23:00:18 | [Mutex] isItemNotified: configured:node:node-20cf1319-65e6-41f7-a4e0-842b1160976b:node-29aef9c5-9679-4618-ac6d-e0195b7dd7c5 :: true

2023-07-04 23:00:19 | [Mutex] waiting for: [received:nodes:61c8c96e-9d25-4ff5-966f-bb8dec4a7680:localhost]

2023-07-04 23:00:19 | [Mutex] received everything.

2023-07-04 23:00:19 | [Mutex] isItemNotified: received:node:61c8c96e-9d25-4ff5-966f-bb8dec4a7680:localhost:node-20cf1319-65e6-41f7-a4e0-842b1160976b:Node 20cf1319-65e6-41f7-a4e0-842b1160976b :: true

2023-07-04 23:00:19 | [Mutex] waiting for: [received:nodes:a7a6d41c-9fb8-4a67-97da-670cefaa6fc9:localhost]

2023-07-04 23:00:19 | [Mutex] waiting for: [received:nodes:a7a6d41c-9fb8-4a67-97da-670cefaa6fc9:localhost]

2023-07-04 23:00:19 | [Mutex] waiting for: [received:nodes:a7a6d41c-9fb8-4a67-97da-670cefaa6fc9:localhost]

2023-07-04 23:00:19 | [Mutex] received everything.

2023-07-04 23:00:19 | [Mutex] isItemNotified: received:node:a7a6d41c-9fb8-4a67-97da-670cefaa6fc9:localhost:node-20cf1319-65e6-41f7-a4e0-842b1160976b:Node 20cf1319-65e6-41f7-a4e0-842b1160976b :: false

createNodes 1.458s
2023-07-04 23:00:16 |

2023-07-04 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:16 | ------------------------------------

2023-07-04 23:00:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-20cf1319-65e6-41f7-a4e0-842b1160976b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 20cf1319-65e6-41f7-a4e0-842b1160976b</title></pubsub></data>

2023-07-04 23:00:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 23:00:17 | [Mutex] waiting for: [received:nodes:2c3af4a3-a6c3-4a27-9d7b-e1b26d92c2c2:localhost]

2023-07-04 23:00:17 | [Mutex] waiting for: [received:nodes:2c3af4a3-a6c3-4a27-9d7b-e1b26d92c2c2:localhost]

2023-07-04 23:00:17 | [Mutex] waiting for: [received:nodes:2c3af4a3-a6c3-4a27-9d7b-e1b26d92c2c2:localhost]

2023-07-04 23:00:17 | [Mutex] waiting for: [received:nodes:2c3af4a3-a6c3-4a27-9d7b-e1b26d92c2c2:localhost]

2023-07-04 23:00:17 | [Mutex] received everything.

2023-07-04 23:00:17 | [Mutex] isItemNotified: received:node:2c3af4a3-a6c3-4a27-9d7b-e1b26d92c2c2:localhost:node-20cf1319-65e6-41f7-a4e0-842b1160976b:Node 20cf1319-65e6-41f7-a4e0-842b1160976b :: true

createSubnodes 1.025s
2023-07-04 23:00:17 |

2023-07-04 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:17 | ------------------------------------

2023-07-04 23:00:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-29aef9c5-9679-4618-ac6d-e0195b7dd7c5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 29aef9c5-9679-4618-ac6d-e0195b7dd7c5</title></pubsub></data>

2023-07-04 23:00:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 23:00:18 | [Mutex] waiting for: [received:nodes:0fa58d8a-f19f-45dc-85f8-114cbfe49d54:localhost]

2023-07-04 23:00:18 | [Mutex] waiting for: [received:nodes:0fa58d8a-f19f-45dc-85f8-114cbfe49d54:localhost]

2023-07-04 23:00:18 | [Mutex] waiting for: [received:nodes:0fa58d8a-f19f-45dc-85f8-114cbfe49d54:localhost]

2023-07-04 23:00:18 | [Mutex] received everything.

2023-07-04 23:00:18 | [Mutex] isItemNotified: received:node:0fa58d8a-f19f-45dc-85f8-114cbfe49d54:localhost:node-29aef9c5-9679-4618-ac6d-e0195b7dd7c5:Node 29aef9c5-9679-4618-ac6d-e0195b7dd7c5 :: true

deleteNodes 1.016s
2023-07-04 23:00:24 |

2023-07-04 23:00:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:24 | ------------------------------------

2023-07-04 23:00:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-29aef9c5-9679-4618-ac6d-e0195b7dd7c5</node></data>

2023-07-04 23:00:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 23:00:25 | [Mutex] waiting for: [received:nodes:20bc0570-74db-4acf-9d1b-a28356f3ae7f:localhost]

2023-07-04 23:00:25 | [Mutex] waiting for: [received:nodes:20bc0570-74db-4acf-9d1b-a28356f3ae7f:localhost]

2023-07-04 23:00:25 | [Mutex] waiting for: [received:nodes:20bc0570-74db-4acf-9d1b-a28356f3ae7f:localhost]

2023-07-04 23:00:25 | [Mutex] received everything.

2023-07-04 23:00:25 | [Mutex] isItemNotified: received:node:20bc0570-74db-4acf-9d1b-a28356f3ae7f:localhost:node-29aef9c5-9679-4618-ac6d-e0195b7dd7c5:Node 29aef9c5-9679-4618-ac6d-e0195b7dd7c5 :: false

deleteSubnodes 1.157s
2023-07-04 23:00:22 |

2023-07-04 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:22 | ------------------------------------

2023-07-04 23:00:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-20cf1319-65e6-41f7-a4e0-842b1160976b</node></data>

2023-07-04 23:00:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-04 23:00:24 | [Mutex] waiting for: [received:nodes:f850d391-1829-4c54-a2f0-a54db60acf91:localhost]

2023-07-04 23:00:24 | [Mutex] waiting for: [received:nodes:f850d391-1829-4c54-a2f0-a54db60acf91:localhost]

2023-07-04 23:00:24 | [Mutex] waiting for: [received:nodes:f850d391-1829-4c54-a2f0-a54db60acf91:localhost]

2023-07-04 23:00:24 | [Mutex] waiting for: [received:nodes:f850d391-1829-4c54-a2f0-a54db60acf91:localhost]

2023-07-04 23:00:24 | [Mutex] received everything.

2023-07-04 23:00:24 | [Mutex] isItemNotified: received:node:f850d391-1829-4c54-a2f0-a54db60acf91:localhost:node-20cf1319-65e6-41f7-a4e0-842b1160976b:Node 20cf1319-65e6-41f7-a4e0-842b1160976b :: false

2023-07-04 23:00:24 | [Mutex] waiting for: [received:nodes:f2e2a5bc-4a76-48d6-b87a-8e9abf1c853c:localhost]

2023-07-04 23:00:24 | [Mutex] received everything.

2023-07-04 23:00:24 | [Mutex] isItemNotified: received:node:f2e2a5bc-4a76-48d6-b87a-8e9abf1c853c:localhost:node-20cf1319-65e6-41f7-a4e0-842b1160976b:Node 20cf1319-65e6-41f7-a4e0-842b1160976b :: false

publishItemsToNodes 0.203s
2023-07-04 23:00:20 |

2023-07-04 23:00:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:20 | ------------------------------------

2023-07-04 23:00:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-20cf1319-65e6-41f7-a4e0-842b1160976b</node><item-id>item-317d3cb5-b850-4753-bc09-f15dc6437b82</item-id><entry><test>item-317d3cb5-b850-4753-bc09-f15dc6437b82</test></entry></data>

2023-07-04 23:00:21 | 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-317d3cb5-b850-4753-bc09-f15dc6437b82</value></item-id></result>

2023-07-04 23:00:21 | [Mutex] waiting for: [published:item:notifieditem-317d3cb5-b850-4753-bc09-f15dc6437b82:admin@test-domain.com]

2023-07-04 23:00:21 | [Mutex] received everything.

2023-07-04 23:00:21 | [Mutex] isItemNotified: published:item:notifieditem-317d3cb5-b850-4753-bc09-f15dc6437b82:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2023-07-04 23:00:21 |

2023-07-04 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:21 | ------------------------------------

2023-07-04 23:00:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-20cf1319-65e6-41f7-a4e0-842b1160976b</node><item-id>item-317d3cb5-b850-4753-bc09-f15dc6437b82</item-id></data>

2023-07-04 23:00:21 | 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-317d3cb5-b850-4753-bc09-f15dc6437b82</value></item-id></result>

2023-07-04 23:00:21 | [Mutex] received everything.

2023-07-04 23:00:21 | [Mutex] isItemNotified: retracted:item:notifieditem-317d3cb5-b850-4753-bc09-f15dc6437b82:admin@test-domain.com :: true

retrieveItemsFromNodes 0.155s
2023-07-04 23:00:21 |

2023-07-04 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:21 | ------------------------------------

2023-07-04 23:00:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-20cf1319-65e6-41f7-a4e0-842b1160976b</node><item-id>item-317d3cb5-b850-4753-bc09-f15dc6437b82</item-id></data>

2023-07-04 23:00:21 | 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-20cf1319-65e6-41f7-a4e0-842b1160976b</value></node><item-id type="text-single" label="Item ID"><value>item-317d3cb5-b850-4753-bc09-f15dc6437b82</value></item-id><item type="text-multi" label="Item"><value><item id="item-317d3cb5-b850-4753-bc09-f15dc6437b82"><test>item-317d3cb5-b850-4753-bc09-f15dc6437b82</test></item></value></item></result>

2023-07-04 23:00:21 | [Mutex] notify: [retrieved:item:item-317d3cb5-b850-4753-bc09-f15dc6437b82:payload-matches:true:localhost]

2023-07-04 23:00:21 | [Mutex] received everything.

2023-07-04 23:00:21 | [Mutex] isItemNotified: retrieved:item:item-317d3cb5-b850-4753-bc09-f15dc6437b82:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-07-04 23:00:21 |

2023-07-04 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:21 | ------------------------------------

2023-07-04 23:00:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-04 23:00:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-29aef9c5-9679-4618-ac6d-e0195b7dd7c5</value><value>test</value><value>node-20cf1319-65e6-41f7-a4e0-842b1160976b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-07-04 23:00:21 |

2023-07-04 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:21 | ------------------------------------

2023-07-04 23:00: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-20cf1319-65e6-41f7-a4e0-842b1160976b)</node-pattern></data>

2023-07-04 23:00:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.105s
2023-07-04 23:00:19 |

2023-07-04 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:19 | ------------------------------------

2023-07-04 23:00:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-20cf1319-65e6-41f7-a4e0-842b1160976b</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 23:00:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.179s
2023-07-04 23:00:21 |

2023-07-04 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-04 23:00:21 | ------------------------------------

2023-07-04 23:00:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-20cf1319-65e6-41f7-a4e0-842b1160976b</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-04 23:00:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>