Generated by TestNG with ReportNG at 21:15 PST on Sunday 29 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.441s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.690s
2020-11-29 21:32:48 |

2020-11-29 21:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-29 21:32:48 | ------------------------------------

2020-11-29 21:32:48 | [Mutex] isItemNotified: node_6q0qh50203:exists :: false

2020-11-29 21:32:48 | [Mutex] waiting for: [node_6q0qh50203:create_node]

2020-11-29 21:32:48 | [Mutex] received everything.

2020-11-29 21:32:48 | [Mutex] isItemNotified: node_6q0qh50203:create_node:success :: true

2020-11-29 21:32:48 | [Mutex] waiting for: [node_6q0qh50203:subscribe_node]

2020-11-29 21:32:48 | [Mutex] waiting for: [node_6q0qh50203:subscribe_node]

2020-11-29 21:32:48 | [Mutex] received everything.

2020-11-29 21:32:48 | [Mutex] isItemNotified: node_6q0qh50203:subscribe_node:success :: true

2020-11-29 21:32:48 |


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


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

2020-11-29 21:32:48 | command: <data><node>node_6q0qh50203</node><entry><content>content_fl9fr00204</content></entry></data>

2020-11-29 21:32:48 | target: http://localhost:8088

2020-11-29 21:32:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-29 21:32:48 | entity: <data><node>node_6q0qh50203</node><entry><content>content_fl9fr00204</content></entry></data>

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

2020-11-29 21:32:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb1daee2-d4f4-4088-876e-89b9edf47b9f</value></item-id></result>

2020-11-29 21:32:48 | contains: true

2020-11-29 21:32:48 | [Mutex] received everything.

2020-11-29 21:32:48 | [Mutex] isItemNotified: user_regularq2vls40202@test-domain.com:message:received:content_fl9fr00204 :: true

2020-11-29 21:32:48 |


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


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

2020-11-29 21:32:48 | command: <data><node>node_6q0qh50203</node><expire-at>2020-11-30T05:32:43Z</expire-at><entry><content>content_754ebg0205</content></entry></data>

2020-11-29 21:32:48 | target: http://localhost:8088

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

2020-11-29 21:32:48 | entity: <data><node>node_6q0qh50203</node><expire-at>2020-11-30T05:32:43Z</expire-at><entry><content>content_754ebg0205</content></entry></data>

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

2020-11-29 21:32:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>231872b6-ebd0-4a27-9151-abe2e24b12db</value></item-id></result>

2020-11-29 21:32:49 | contains: true

2020-11-29 21:32:49 | [Mutex] waiting for: [user_regularq2vls40202@test-domain.com:message:received:content_754ebg0205]

2020-11-29 21:33:04 | [Mutex] timeout. Not received [user_regularq2vls40202@test-domain.com:message:received:content_754ebg0205]

2020-11-29 21:33:04 | [Mutex] isItemNotified: user_regularq2vls40202@test-domain.com:message:received:content_754ebg0205 :: false

2020-11-29 21:33:04 |


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


2020-11-29 21:33:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 21:33:04 | command: <data><node>node_6q0qh50203</node><entry><content>content_g7rkgc0206</content></entry></data>

2020-11-29 21:33:04 | target: http://localhost:8088

2020-11-29 21:33:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-29 21:33:04 | entity: <data><node>node_6q0qh50203</node><entry><content>content_g7rkgc0206</content></entry></data>

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

2020-11-29 21:33:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>36ab9bb2-63a8-4c4c-895e-143ec9a5e308</value></item-id></result>

2020-11-29 21:33:04 | contains: true

2020-11-29 21:33:09 | [Mutex] waiting for: [user_regularq2vls40202@test-domain.com:message:received:content_g7rkgc0206]

2020-11-29 21:33:09 | [Mutex] received everything.

2020-11-29 21:33:09 | [Mutex] isItemNotified: user_regularq2vls40202@test-domain.com:message:received:content_g7rkgc0206 :: true

2020-11-29 21:33:09 |


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


2020-11-29 21:33:09 | [Mutex] received everything.

2020-11-29 21:33:09 | [Mutex] isItemNotified: node_6q0qh50203:subscribe_node:success :: true

2020-11-29 21:33:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-29 21:33:09 | command: <data><node>node_6q0qh50203</node><expire-at>2020-11-30T05:33:14Z</expire-at><entry><content>content_jgektn0207</content></entry></data>

2020-11-29 21:33:09 | target: http://localhost:8088

2020-11-29 21:33:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-29 21:33:09 | entity: <data><node>node_6q0qh50203</node><expire-at>2020-11-30T05:33:14Z</expire-at><entry><content>content_jgektn0207</content></entry></data>

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

2020-11-29 21:33:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>79b2942e-20ef-4443-9d0f-6098586a6804</value></item-id></result>

2020-11-29 21:33:09 | contains: true

2020-11-29 21:33:17 | [Mutex] waiting for: [user_regularq2vls40202@test-domain.com:message:received:content_jgektn0207]

2020-11-29 21:33:32 | [Mutex] timeout. Not received [user_regularq2vls40202@test-domain.com:message:received:content_jgektn0207]

2020-11-29 21:33:32 | [Mutex] received everything.

2020-11-29 21:33:32 | [Mutex] isItemNotified: user_regularq2vls40202@test-domain.com:message:received:content_jgektn0207 :: false

2020-11-29 21:33:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jgektn0207 :: true