Generated by TestNG with ReportNG at 23:12 PDT on Sunday 18 October 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 : 46.030s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.804s
2020-10-18 23:28:04 |

2020-10-18 23:28:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-18 23:28:04 | ------------------------------------

2020-10-18 23:28:04 | [Mutex] isItemNotified: node_61pdam0203:exists :: false

2020-10-18 23:28:04 | [Mutex] waiting for: [node_61pdam0203:create_node]

2020-10-18 23:28:04 | [Mutex] received everything.

2020-10-18 23:28:04 | [Mutex] isItemNotified: node_61pdam0203:create_node:success :: true

2020-10-18 23:28:04 | [Mutex] waiting for: [node_61pdam0203:subscribe_node]

2020-10-18 23:28:04 | [Mutex] waiting for: [node_61pdam0203:subscribe_node]

2020-10-18 23:28:04 | [Mutex] received everything.

2020-10-18 23:28:04 | [Mutex] isItemNotified: node_61pdam0203:subscribe_node:success :: true

2020-10-18 23:28:04 |


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


2020-10-18 23:28:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:28:04 | command: <data><node>node_61pdam0203</node><entry><content>content_ez1p6p0204</content></entry></data>

2020-10-18 23:28:04 | target: http://localhost:8088

2020-10-18 23:28:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 23:28:04 | entity: <data><node>node_61pdam0203</node><entry><content>content_ez1p6p0204</content></entry></data>

2020-10-18 23:28:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:28:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:28:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0feaada5-29c2-41eb-aa8e-7435a4a9632d</value></item-id></result>

2020-10-18 23:28:04 | contains: true

2020-10-18 23:28:04 | [Mutex] waiting for: [user_regular7f1ymq0202@test-domain.com:message:received:content_ez1p6p0204]

2020-10-18 23:28:04 | [Mutex] received everything.

2020-10-18 23:28:04 | [Mutex] isItemNotified: user_regular7f1ymq0202@test-domain.com:message:received:content_ez1p6p0204 :: true

2020-10-18 23:28:04 |


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


2020-10-18 23:28:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:28:04 | command: <data><node>node_61pdam0203</node><expire-at>2020-10-19T06:27:59Z</expire-at><entry><content>content_lmk0hf0205</content></entry></data>

2020-10-18 23:28:04 | target: http://localhost:8088

2020-10-18 23:28:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 23:28:04 | entity: <data><node>node_61pdam0203</node><expire-at>2020-10-19T06:27:59Z</expire-at><entry><content>content_lmk0hf0205</content></entry></data>

2020-10-18 23:28:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:28:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:28:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>091ffbf5-1399-40b7-85b8-87f4f3a61678</value></item-id></result>

2020-10-18 23:28:04 | contains: true

2020-10-18 23:28:04 | [Mutex] waiting for: [user_regular7f1ymq0202@test-domain.com:message:received:content_lmk0hf0205]

2020-10-18 23:28:19 | [Mutex] timeout. Not received [user_regular7f1ymq0202@test-domain.com:message:received:content_lmk0hf0205]

2020-10-18 23:28:19 | [Mutex] isItemNotified: user_regular7f1ymq0202@test-domain.com:message:received:content_lmk0hf0205 :: false

2020-10-18 23:28:19 |


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


2020-10-18 23:28:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:28:19 | command: <data><node>node_61pdam0203</node><entry><content>content_w7ob2t0206</content></entry></data>

2020-10-18 23:28:19 | target: http://localhost:8088

2020-10-18 23:28:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-18 23:28:19 | entity: <data><node>node_61pdam0203</node><entry><content>content_w7ob2t0206</content></entry></data>

2020-10-18 23:28:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:28:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:28:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>276120bb-67ca-46e1-b82e-055e92cb5cf0</value></item-id></result>

2020-10-18 23:28:19 | contains: true

2020-10-18 23:28:24 | [Mutex] waiting for: [user_regular7f1ymq0202@test-domain.com:message:received:content_w7ob2t0206]

2020-10-18 23:28:24 | [Mutex] received everything.

2020-10-18 23:28:24 | [Mutex] isItemNotified: user_regular7f1ymq0202@test-domain.com:message:received:content_w7ob2t0206 :: true

2020-10-18 23:28:24 |


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


2020-10-18 23:28:24 | [Mutex] received everything.

2020-10-18 23:28:24 | [Mutex] isItemNotified: node_61pdam0203:subscribe_node:success :: true

2020-10-18 23:28:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-18 23:28:24 | command: <data><node>node_61pdam0203</node><expire-at>2020-10-19T06:28:29Z</expire-at><entry><content>content_tw6t560207</content></entry></data>

2020-10-18 23:28:24 | target: http://localhost:8088

2020-10-18 23:28:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-18 23:28:24 | entity: <data><node>node_61pdam0203</node><expire-at>2020-10-19T06:28:29Z</expire-at><entry><content>content_tw6t560207</content></entry></data>

2020-10-18 23:28:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 06:28:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-18 23:28:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b82d6930-9d15-4eaf-84c6-af47c696113f</value></item-id></result>

2020-10-18 23:28:24 | contains: true

2020-10-18 23:28:33 | [Mutex] waiting for: [user_regular7f1ymq0202@test-domain.com:message:received:content_tw6t560207]

2020-10-18 23:28:33 | [Mutex] waiting for: [user_regular7f1ymq0202@test-domain.com:message:received:content_tw6t560207]

2020-10-18 23:28:48 | [Mutex] timeout. Not received [user_regular7f1ymq0202@test-domain.com:message:received:content_tw6t560207]

2020-10-18 23:28:48 | [Mutex] received everything.

2020-10-18 23:28:48 | [Mutex] isItemNotified: user_regular7f1ymq0202@test-domain.com:message:received:content_tw6t560207 :: false

2020-10-18 23:28:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tw6t560207 :: true