Generated by TestNG with ReportNG at 21:14 PST on Sunday 01 November 2020
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.355s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.805s
2020-11-01 21:30:27 |

2020-11-01 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-01 21:30:27 | ------------------------------------

2020-11-01 21:30:27 | [Mutex] isItemNotified: node_86xzpv0203:exists :: false

2020-11-01 21:30:27 | [Mutex] waiting for: [node_86xzpv0203:create_node]

2020-11-01 21:30:27 | [Mutex] received everything.

2020-11-01 21:30:27 | [Mutex] isItemNotified: node_86xzpv0203:create_node:success :: true

2020-11-01 21:30:27 | [Mutex] waiting for: [node_86xzpv0203:subscribe_node]

2020-11-01 21:30:27 | [Mutex] received everything.

2020-11-01 21:30:27 | [Mutex] isItemNotified: node_86xzpv0203:subscribe_node:success :: true

2020-11-01 21:30:27 |


===== publishing normal message (to online)


2020-11-01 21:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:30:27 | command: <data><node>node_86xzpv0203</node><entry><content>content_b1gr210204</content></entry></data>

2020-11-01 21:30:27 | target: http://localhost:8088

2020-11-01 21:30:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:30:27 | entity: <data><node>node_86xzpv0203</node><entry><content>content_b1gr210204</content></entry></data>

2020-11-01 21:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1bb1a1a3-b02c-4195-ac22-e0e2e7f84879</value></item-id></result>

2020-11-01 21:30:27 | contains: true

2020-11-01 21:30:27 | [Mutex] received everything.

2020-11-01 21:30:27 | [Mutex] isItemNotified: user_regularhd9ue40202@test-domain.com:message:received:content_b1gr210204 :: true

2020-11-01 21:30:27 |


===== publishing already old message - expecting message being filtered out (to online)


2020-11-01 21:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:30:27 | command: <data><node>node_86xzpv0203</node><expire-at>2020-11-02T05:30:22Z</expire-at><entry><content>content_scyxzh0205</content></entry></data>

2020-11-01 21:30:27 | target: http://localhost:8088

2020-11-01 21:30:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:30:27 | entity: <data><node>node_86xzpv0203</node><expire-at>2020-11-02T05:30:22Z</expire-at><entry><content>content_scyxzh0205</content></entry></data>

2020-11-01 21:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6789591f-3fb1-4bd4-9096-088fdd9d1423</value></item-id></result>

2020-11-01 21:30:27 | contains: true

2020-11-01 21:30:27 | [Mutex] waiting for: [user_regularhd9ue40202@test-domain.com:message:received:content_scyxzh0205]

2020-11-01 21:30:42 | [Mutex] timeout. Not received [user_regularhd9ue40202@test-domain.com:message:received:content_scyxzh0205]

2020-11-01 21:30:42 | [Mutex] isItemNotified: user_regularhd9ue40202@test-domain.com:message:received:content_scyxzh0205 :: false

2020-11-01 21:30:42 |


===== publishing normal message (to offline)


2020-11-01 21:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:30:43 | command: <data><node>node_86xzpv0203</node><entry><content>content_xl0c6t0206</content></entry></data>

2020-11-01 21:30:43 | target: http://localhost:8088

2020-11-01 21:30:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:30:43 | entity: <data><node>node_86xzpv0203</node><entry><content>content_xl0c6t0206</content></entry></data>

2020-11-01 21:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2faac5d8-ecc4-4c0f-9716-e640c672812e</value></item-id></result>

2020-11-01 21:30:43 | contains: true

2020-11-01 21:30:48 | [Mutex] waiting for: [user_regularhd9ue40202@test-domain.com:message:received:content_xl0c6t0206]

2020-11-01 21:30:48 | [Mutex] waiting for: [user_regularhd9ue40202@test-domain.com:message:received:content_xl0c6t0206]

2020-11-01 21:30:48 | [Mutex] received everything.

2020-11-01 21:30:48 | [Mutex] isItemNotified: user_regularhd9ue40202@test-domain.com:message:received:content_xl0c6t0206 :: true

2020-11-01 21:30:48 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-11-01 21:30:48 | [Mutex] received everything.

2020-11-01 21:30:48 | [Mutex] isItemNotified: node_86xzpv0203:subscribe_node:success :: true

2020-11-01 21:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:30:48 | command: <data><node>node_86xzpv0203</node><expire-at>2020-11-02T05:30:53Z</expire-at><entry><content>content_7r31v20207</content></entry></data>

2020-11-01 21:30:48 | target: http://localhost:8088

2020-11-01 21:30:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:30:48 | entity: <data><node>node_86xzpv0203</node><expire-at>2020-11-02T05:30:53Z</expire-at><entry><content>content_7r31v20207</content></entry></data>

2020-11-01 21:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>84763249-9e8b-49c1-8997-96ff7c355bdd</value></item-id></result>

2020-11-01 21:30:48 | contains: true

2020-11-01 21:30:56 | [Mutex] waiting for: [user_regularhd9ue40202@test-domain.com:message:received:content_7r31v20207]

2020-11-01 21:31:11 | [Mutex] timeout. Not received [user_regularhd9ue40202@test-domain.com:message:received:content_7r31v20207]

2020-11-01 21:31:11 | [Mutex] received everything.

2020-11-01 21:31:11 | [Mutex] isItemNotified: user_regularhd9ue40202@test-domain.com:message:received:content_7r31v20207 :: false

2020-11-01 21:31:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7r31v20207 :: true