Generated by TestNG with ReportNG at 22:26 PDT on Tuesday 05 October 2021
root@b2c2a8eba6e6 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 10.321s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2021-10-05 22:42:21 |

2021-10-05 22:42:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:21 | ------------------------------------

2021-10-05 22:42:21 | [Mutex] waiting for: [configured:node:node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f:node-0ee3c4ae-feb9-4ab5-8be5-917721b63ca2]

2021-10-05 22:42:21 | [Mutex] received everything.

2021-10-05 22:42:21 | [Mutex] isItemNotified: configured:node:node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f:node-0ee3c4ae-feb9-4ab5-8be5-917721b63ca2 :: true

2021-10-05 22:42:22 | [Mutex] waiting for: [received:nodes:3a8ff38e-b0a2-42db-8465-49b37e3dfb3b:localhost]

2021-10-05 22:42:22 | [Mutex] received everything.

2021-10-05 22:42:22 | [Mutex] isItemNotified: received:node:3a8ff38e-b0a2-42db-8465-49b37e3dfb3b:localhost:node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f:Node 05a36fe7-fa50-4cbe-b282-7d7a9d08818f :: true

2021-10-05 22:42:22 | [Mutex] waiting for: [received:nodes:65184217-9a16-40b2-8295-6e5eec566dee:localhost]

2021-10-05 22:42:22 | [Mutex] received everything.

2021-10-05 22:42:22 | [Mutex] isItemNotified: received:node:65184217-9a16-40b2-8295-6e5eec566dee:localhost:node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f:Node 05a36fe7-fa50-4cbe-b282-7d7a9d08818f :: false

createNodes 1.546s
2021-10-05 22:42:18 |

2021-10-05 22:42:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:18 | ------------------------------------

2021-10-05 22:42:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05a36fe7-fa50-4cbe-b282-7d7a9d08818f</title></pubsub></data>

2021-10-05 22:42:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:42:20 | [Mutex] waiting for: [received:nodes:82d73423-34f6-43a2-bc0a-0e0b001c54f2:localhost]

2021-10-05 22:42:20 | [Mutex] waiting for: [received:nodes:82d73423-34f6-43a2-bc0a-0e0b001c54f2:localhost]

2021-10-05 22:42:20 | [Mutex] waiting for: [received:nodes:82d73423-34f6-43a2-bc0a-0e0b001c54f2:localhost]

2021-10-05 22:42:20 | [Mutex] waiting for: [received:nodes:82d73423-34f6-43a2-bc0a-0e0b001c54f2:localhost]

2021-10-05 22:42:20 | [Mutex] received everything.

2021-10-05 22:42:20 | [Mutex] isItemNotified: received:node:82d73423-34f6-43a2-bc0a-0e0b001c54f2:localhost:node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f:Node 05a36fe7-fa50-4cbe-b282-7d7a9d08818f :: true

createSubnodes 1.038s
2021-10-05 22:42:20 |

2021-10-05 22:42:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:20 | ------------------------------------

2021-10-05 22:42:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0ee3c4ae-feb9-4ab5-8be5-917721b63ca2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0ee3c4ae-feb9-4ab5-8be5-917721b63ca2</title></pubsub></data>

2021-10-05 22:42:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:42:21 | [Mutex] waiting for: [received:nodes:cc23e1ca-ea38-4711-8b62-fd72e9c414e8:localhost]

2021-10-05 22:42:21 | [Mutex] received everything.

2021-10-05 22:42:21 | [Mutex] isItemNotified: received:node:cc23e1ca-ea38-4711-8b62-fd72e9c414e8:localhost:node-0ee3c4ae-feb9-4ab5-8be5-917721b63ca2:Node 0ee3c4ae-feb9-4ab5-8be5-917721b63ca2 :: true

deleteNodes 1.023s
2021-10-05 22:42:27 |

2021-10-05 22:42:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:27 | ------------------------------------

2021-10-05 22:42:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0ee3c4ae-feb9-4ab5-8be5-917721b63ca2</node></data>

2021-10-05 22:42:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:42:28 | [Mutex] waiting for: [received:nodes:7cc1f7d2-78b6-4c91-b249-6efee1e82c1b:localhost]

2021-10-05 22:42:28 | [Mutex] received everything.

2021-10-05 22:42:28 | [Mutex] isItemNotified: received:node:7cc1f7d2-78b6-4c91-b249-6efee1e82c1b:localhost:node-0ee3c4ae-feb9-4ab5-8be5-917721b63ca2:Node 0ee3c4ae-feb9-4ab5-8be5-917721b63ca2 :: false

deleteSubnodes 1.202s
2021-10-05 22:42:25 |

2021-10-05 22:42:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:25 | ------------------------------------

2021-10-05 22:42:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</node></data>

2021-10-05 22:42:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:42:27 | [Mutex] waiting for: [received:nodes:d1f88db1-1a18-4e28-8db7-a4f92cf7ecd5:localhost]

2021-10-05 22:42:27 | [Mutex] received everything.

2021-10-05 22:42:27 | [Mutex] isItemNotified: received:node:d1f88db1-1a18-4e28-8db7-a4f92cf7ecd5:localhost:node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f:Node 05a36fe7-fa50-4cbe-b282-7d7a9d08818f :: false

2021-10-05 22:42:27 | [Mutex] waiting for: [received:nodes:8def09eb-634b-4087-98e1-b040f6920841:localhost]

2021-10-05 22:42:27 | [Mutex] received everything.

2021-10-05 22:42:27 | [Mutex] isItemNotified: received:node:8def09eb-634b-4087-98e1-b040f6920841:localhost:node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f:Node 05a36fe7-fa50-4cbe-b282-7d7a9d08818f :: false

publishItemsToNodes 0.320s
2021-10-05 22:42:23 |

2021-10-05 22:42:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:23 | ------------------------------------

2021-10-05 22:42:23 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</node><item-id>item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</item-id><entry><test>item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</test></entry></data>

2021-10-05 22:42:24 | 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-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</value></item-id></result>

2021-10-05 22:42:24 | [Mutex] waiting for: [published:item:notifieditem-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb:admin@test-domain.com]

2021-10-05 22:42:24 | [Mutex] received everything.

2021-10-05 22:42:24 | [Mutex] isItemNotified: published:item:notifieditem-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2021-10-05 22:42:24 |

2021-10-05 22:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:24 | ------------------------------------

2021-10-05 22:42:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</node><item-id>item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</item-id></data>

2021-10-05 22:42:24 | 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-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</value></item-id></result>

2021-10-05 22:42:24 | [Mutex] received everything.

2021-10-05 22:42:24 | [Mutex] isItemNotified: retracted:item:notifieditem-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.213s
2021-10-05 22:42:24 |

2021-10-05 22:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:24 | ------------------------------------

2021-10-05 22:42:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</node><item-id>item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</item-id></data>

2021-10-05 22:42:24 | 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-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</value></node><item-id label="Item ID" type="text-single"><value>item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</value></item-id><item label="Item" type="text-multi"><value><item id="item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb"><test>item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb</test></item></value></item></result>

2021-10-05 22:42:24 | [Mutex] notify: [retrieved:item:item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb:payload-matches:true:localhost]

2021-10-05 22:42:24 | [Mutex] received everything.

2021-10-05 22:42:24 | [Mutex] isItemNotified: retrieved:item:item-c4783fbb-5842-4a2d-b89b-cd9500d2cbcb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-10-05 22:42:24 |

2021-10-05 22:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:24 | ------------------------------------

2021-10-05 22:42:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-05 22:42:24 | 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-0ee3c4ae-feb9-4ab5-8be5-917721b63ca2</value><value>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-10-05 22:42:24 |

2021-10-05 22:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:24 | ------------------------------------

2021-10-05 22:42:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f)</node-pattern></data>

2021-10-05 22:42:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.214s
2021-10-05 22:42:22 |

2021-10-05 22:42:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:22 | ------------------------------------

2021-10-05 22:42:22 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-05 22:42:22 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.275s
2021-10-05 22:42:24 |

2021-10-05 22:42:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:42:24 | ------------------------------------

2021-10-05 22:42:24 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05a36fe7-fa50-4cbe-b282-7d7a9d08818f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-05 22:42:24 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>