Generated by TestNG with ReportNG at 13:34 PST on Wednesday 16 December 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.765s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.731s
2020-12-16 13:49:44 |

2020-12-16 13:49:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-12-16 13:49:44 | ------------------------------------

2020-12-16 13:49:44 | [Mutex] isItemNotified: node_5lw4880203:exists :: false

2020-12-16 13:49:44 | [Mutex] waiting for: [node_5lw4880203:create_node]

2020-12-16 13:49:44 | [Mutex] received everything.

2020-12-16 13:49:44 | [Mutex] isItemNotified: node_5lw4880203:create_node:success :: true

2020-12-16 13:49:44 | [Mutex] waiting for: [node_5lw4880203:subscribe_node]

2020-12-16 13:49:44 | [Mutex] waiting for: [node_5lw4880203:subscribe_node]

2020-12-16 13:49:44 | [Mutex] received everything.

2020-12-16 13:49:44 | [Mutex] isItemNotified: node_5lw4880203:subscribe_node:success :: true

2020-12-16 13:49:44 |


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


2020-12-16 13:49:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:49:44 | command: <data><node>node_5lw4880203</node><entry><content>content_mlnd9c0204</content></entry></data>

2020-12-16 13:49:44 | target: http://localhost:8088

2020-12-16 13:49:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-16 13:49:44 | entity: <data><node>node_5lw4880203</node><entry><content>content_mlnd9c0204</content></entry></data>

2020-12-16 13:49:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:49:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:49:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>812d7b8a-04e5-432a-91b1-80228321def5</value></item-id></result>

2020-12-16 13:49:44 | contains: true

2020-12-16 13:49:44 | [Mutex] waiting for: [user_regularlcgbgs0202@test-domain.com:message:received:content_mlnd9c0204]

2020-12-16 13:49:44 | [Mutex] received everything.

2020-12-16 13:49:44 | [Mutex] isItemNotified: user_regularlcgbgs0202@test-domain.com:message:received:content_mlnd9c0204 :: true

2020-12-16 13:49:44 |


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


2020-12-16 13:49:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:49:44 | command: <data><node>node_5lw4880203</node><expire-at>2020-12-16T21:49:39Z</expire-at><entry><content>content_l0v5220205</content></entry></data>

2020-12-16 13:49:44 | target: http://localhost:8088

2020-12-16 13:49:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-16 13:49:44 | entity: <data><node>node_5lw4880203</node><expire-at>2020-12-16T21:49:39Z</expire-at><entry><content>content_l0v5220205</content></entry></data>

2020-12-16 13:49:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:49:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:49:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ee4784f7-073c-4183-a1a2-11411c54f7ef</value></item-id></result>

2020-12-16 13:49:44 | contains: true

2020-12-16 13:49:44 | [Mutex] waiting for: [user_regularlcgbgs0202@test-domain.com:message:received:content_l0v5220205]

2020-12-16 13:49:59 | [Mutex] timeout. Not received [user_regularlcgbgs0202@test-domain.com:message:received:content_l0v5220205]

2020-12-16 13:49:59 | [Mutex] isItemNotified: user_regularlcgbgs0202@test-domain.com:message:received:content_l0v5220205 :: false

2020-12-16 13:49:59 |


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


2020-12-16 13:49:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:49:59 | command: <data><node>node_5lw4880203</node><entry><content>content_vpp92u0206</content></entry></data>

2020-12-16 13:49:59 | target: http://localhost:8088

2020-12-16 13:49:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-12-16 13:49:59 | entity: <data><node>node_5lw4880203</node><entry><content>content_vpp92u0206</content></entry></data>

2020-12-16 13:49:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:49:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:49:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c8845300-144b-4d85-8367-ac3a6f6fbe0b</value></item-id></result>

2020-12-16 13:49:59 | contains: true

2020-12-16 13:50:04 | [Mutex] waiting for: [user_regularlcgbgs0202@test-domain.com:message:received:content_vpp92u0206]

2020-12-16 13:50:04 | [Mutex] waiting for: [user_regularlcgbgs0202@test-domain.com:message:received:content_vpp92u0206]

2020-12-16 13:50:04 | [Mutex] received everything.

2020-12-16 13:50:04 | [Mutex] isItemNotified: user_regularlcgbgs0202@test-domain.com:message:received:content_vpp92u0206 :: true

2020-12-16 13:50:04 |


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


2020-12-16 13:50:04 | [Mutex] received everything.

2020-12-16 13:50:04 | [Mutex] isItemNotified: node_5lw4880203:subscribe_node:success :: true

2020-12-16 13:50:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-12-16 13:50:04 | command: <data><node>node_5lw4880203</node><expire-at>2020-12-16T21:50:09Z</expire-at><entry><content>content_bx66ym0207</content></entry></data>

2020-12-16 13:50:04 | target: http://localhost:8088

2020-12-16 13:50:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-12-16 13:50:04 | entity: <data><node>node_5lw4880203</node><expire-at>2020-12-16T21:50:09Z</expire-at><entry><content>content_bx66ym0207</content></entry></data>

2020-12-16 13:50:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 21:50:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-12-16 13:50:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e97db410-ec52-4822-9692-e42adbee7be8</value></item-id></result>

2020-12-16 13:50:04 | contains: true

2020-12-16 13:50:13 | [Mutex] waiting for: [user_regularlcgbgs0202@test-domain.com:message:received:content_bx66ym0207]

2020-12-16 13:50:13 | [Mutex] waiting for: [user_regularlcgbgs0202@test-domain.com:message:received:content_bx66ym0207]

2020-12-16 13:50:13 | [Mutex] waiting for: [user_regularlcgbgs0202@test-domain.com:message:received:content_bx66ym0207]

2020-12-16 13:50:28 | [Mutex] timeout. Not received [user_regularlcgbgs0202@test-domain.com:message:received:content_bx66ym0207]

2020-12-16 13:50:28 | [Mutex] received everything.

2020-12-16 13:50:28 | [Mutex] isItemNotified: user_regularlcgbgs0202@test-domain.com:message:received:content_bx66ym0207 :: false

2020-12-16 13:50:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bx66ym0207 :: true