Generated by TestNG with ReportNG at 22:13 PDT on Thursday 17 June 2021
root@f29ef40080b5 / 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.081s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2021-06-17 22:28:14 |

2021-06-17 22:28:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:14 | ------------------------------------

2021-06-17 22:28:14 | [Mutex] waiting for: [configured:node:node-0b54b294-fa53-4063-a7cb-6608236be8be:node-2fe6b2a9-1281-468b-9db7-923a9f8123b3]

2021-06-17 22:28:14 | [Mutex] received everything.

2021-06-17 22:28:14 | [Mutex] isItemNotified: configured:node:node-0b54b294-fa53-4063-a7cb-6608236be8be:node-2fe6b2a9-1281-468b-9db7-923a9f8123b3 :: true

2021-06-17 22:28:15 | [Mutex] waiting for: [received:nodes:0f2e79d0-8930-48c8-afa8-48d2dc6f556a:localhost]

2021-06-17 22:28:15 | [Mutex] waiting for: [received:nodes:0f2e79d0-8930-48c8-afa8-48d2dc6f556a:localhost]

2021-06-17 22:28:15 | [Mutex] received everything.

2021-06-17 22:28:15 | [Mutex] isItemNotified: received:node:0f2e79d0-8930-48c8-afa8-48d2dc6f556a:localhost:node-0b54b294-fa53-4063-a7cb-6608236be8be:Node 0b54b294-fa53-4063-a7cb-6608236be8be :: true

2021-06-17 22:28:15 | [Mutex] waiting for: [received:nodes:205792da-dcc8-42fe-9902-f1e700378eab:localhost]

2021-06-17 22:28:15 | [Mutex] waiting for: [received:nodes:205792da-dcc8-42fe-9902-f1e700378eab:localhost]

2021-06-17 22:28:15 | [Mutex] waiting for: [received:nodes:205792da-dcc8-42fe-9902-f1e700378eab:localhost]

2021-06-17 22:28:15 | [Mutex] received everything.

2021-06-17 22:28:15 | [Mutex] isItemNotified: received:node:205792da-dcc8-42fe-9902-f1e700378eab:localhost:node-0b54b294-fa53-4063-a7cb-6608236be8be:Node 0b54b294-fa53-4063-a7cb-6608236be8be :: false

createNodes 1.502s
2021-06-17 22:28:12 |

2021-06-17 22:28:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:12 | ------------------------------------

2021-06-17 22:28:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0b54b294-fa53-4063-a7cb-6608236be8be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0b54b294-fa53-4063-a7cb-6608236be8be</title></pubsub></data>

2021-06-17 22:28:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:28:13 | [Mutex] waiting for: [received:nodes:fbe764ac-d5b1-4e22-86f3-ae621f8ce691:localhost]

2021-06-17 22:28:13 | [Mutex] waiting for: [received:nodes:fbe764ac-d5b1-4e22-86f3-ae621f8ce691:localhost]

2021-06-17 22:28:13 | [Mutex] received everything.

2021-06-17 22:28:13 | [Mutex] isItemNotified: received:node:fbe764ac-d5b1-4e22-86f3-ae621f8ce691:localhost:node-0b54b294-fa53-4063-a7cb-6608236be8be:Node 0b54b294-fa53-4063-a7cb-6608236be8be :: true

createSubnodes 1.024s
2021-06-17 22:28:13 |

2021-06-17 22:28:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:13 | ------------------------------------

2021-06-17 22:28:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2fe6b2a9-1281-468b-9db7-923a9f8123b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2fe6b2a9-1281-468b-9db7-923a9f8123b3</title></pubsub></data>

2021-06-17 22:28:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:28:14 | [Mutex] waiting for: [received:nodes:6ba45e2f-8c22-4f06-8776-1058f69063d6:localhost]

2021-06-17 22:28:14 | [Mutex] received everything.

2021-06-17 22:28:14 | [Mutex] isItemNotified: received:node:6ba45e2f-8c22-4f06-8776-1058f69063d6:localhost:node-2fe6b2a9-1281-468b-9db7-923a9f8123b3:Node 2fe6b2a9-1281-468b-9db7-923a9f8123b3 :: true

deleteNodes 1.019s
2021-06-17 22:28:20 |

2021-06-17 22:28:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:20 | ------------------------------------

2021-06-17 22:28:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2fe6b2a9-1281-468b-9db7-923a9f8123b3</node></data>

2021-06-17 22:28:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:28:21 | [Mutex] waiting for: [received:nodes:8802e744-4569-49b0-88d5-18d805a389b5:localhost]

2021-06-17 22:28:21 | [Mutex] received everything.

2021-06-17 22:28:21 | [Mutex] isItemNotified: received:node:8802e744-4569-49b0-88d5-18d805a389b5:localhost:node-2fe6b2a9-1281-468b-9db7-923a9f8123b3:Node 2fe6b2a9-1281-468b-9db7-923a9f8123b3 :: false

deleteSubnodes 1.166s
2021-06-17 22:28:19 |

2021-06-17 22:28:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:19 | ------------------------------------

2021-06-17 22:28:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0b54b294-fa53-4063-a7cb-6608236be8be</node></data>

2021-06-17 22:28:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-17 22:28:20 | [Mutex] waiting for: [received:nodes:1e35db9a-37c9-41cf-b0b4-bddbfb5d0d0e:localhost]

2021-06-17 22:28:20 | [Mutex] received everything.

2021-06-17 22:28:20 | [Mutex] isItemNotified: received:node:1e35db9a-37c9-41cf-b0b4-bddbfb5d0d0e:localhost:node-0b54b294-fa53-4063-a7cb-6608236be8be:Node 0b54b294-fa53-4063-a7cb-6608236be8be :: false

2021-06-17 22:28:20 | [Mutex] waiting for: [received:nodes:91afe4a0-e086-45dd-86f0-1ffb1a677216:localhost]

2021-06-17 22:28:20 | [Mutex] received everything.

2021-06-17 22:28:20 | [Mutex] isItemNotified: received:node:91afe4a0-e086-45dd-86f0-1ffb1a677216:localhost:node-0b54b294-fa53-4063-a7cb-6608236be8be:Node 0b54b294-fa53-4063-a7cb-6608236be8be :: false

publishItemsToNodes 0.229s
2021-06-17 22:28:17 |

2021-06-17 22:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:17 | ------------------------------------

2021-06-17 22:28:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0b54b294-fa53-4063-a7cb-6608236be8be</node><item-id>item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</item-id><entry><test>item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</test></entry></data>

2021-06-17 22:28:17 | 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-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</value></item-id></result>

2021-06-17 22:28:17 | [Mutex] waiting for: [published:item:notifieditem-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c:admin@test-domain.com]

2021-06-17 22:28:17 | [Mutex] received everything.

2021-06-17 22:28:17 | [Mutex] isItemNotified: published:item:notifieditem-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2021-06-17 22:28:17 |

2021-06-17 22:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:17 | ------------------------------------

2021-06-17 22:28:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0b54b294-fa53-4063-a7cb-6608236be8be</node><item-id>item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</item-id></data>

2021-06-17 22:28:17 | 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-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</value></item-id></result>

2021-06-17 22:28:17 | [Mutex] received everything.

2021-06-17 22:28:17 | [Mutex] isItemNotified: retracted:item:notifieditem-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.273s
2021-06-17 22:28:17 |

2021-06-17 22:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:17 | ------------------------------------

2021-06-17 22:28:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0b54b294-fa53-4063-a7cb-6608236be8be</node><item-id>item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</item-id></data>

2021-06-17 22:28:17 | 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-0b54b294-fa53-4063-a7cb-6608236be8be</value></node><item-id type="text-single" label="Item ID"><value>item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</value></item-id><item type="text-multi" label="Item"><value><item id="item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c"><test>item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c</test></item></value></item></result>

2021-06-17 22:28:17 | [Mutex] notify: [retrieved:item:item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c:payload-matches:true:localhost]

2021-06-17 22:28:17 | [Mutex] received everything.

2021-06-17 22:28:17 | [Mutex] isItemNotified: retrieved:item:item-f7b7f0a8-04bd-4ee1-95e1-3ad07cc37c4c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-06-17 22:28:17 |

2021-06-17 22:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:17 | ------------------------------------

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

2021-06-17 22:28:17 | 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-0b54b294-fa53-4063-a7cb-6608236be8be</value><value>node-2fe6b2a9-1281-468b-9db7-923a9f8123b3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-17 22:28:17 |

2021-06-17 22:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:17 | ------------------------------------

2021-06-17 22:28:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0b54b294-fa53-4063-a7cb-6608236be8be)</node-pattern></data>

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

subscribeNodes 1.201s
2021-06-17 22:28:15 |

2021-06-17 22:28:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:15 | ------------------------------------

2021-06-17 22:28:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0b54b294-fa53-4063-a7cb-6608236be8be</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.287s
2021-06-17 22:28:17 |

2021-06-17 22:28:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-17 22:28:17 | ------------------------------------

2021-06-17 22:28:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0b54b294-fa53-4063-a7cb-6608236be8be</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-17 22:28:18 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>