Generated by TestNG with ReportNG at 22:44 PDT on Monday 05 April 2021
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.709s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.832s
2021-04-05 22:58:40 |

2021-04-05 22:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-05 22:58:40 | ------------------------------------

2021-04-05 22:58:40 | [Mutex] isItemNotified: node_2sykk10203:exists :: false

2021-04-05 22:58:40 | [Mutex] waiting for: [node_2sykk10203:create_node]

2021-04-05 22:58:40 | [Mutex] received everything.

2021-04-05 22:58:40 | [Mutex] isItemNotified: node_2sykk10203:create_node:success :: true

2021-04-05 22:58:40 | [Mutex] waiting for: [node_2sykk10203:subscribe_node]

2021-04-05 22:58:40 | [Mutex] waiting for: [node_2sykk10203:subscribe_node]

2021-04-05 22:58:40 | [Mutex] received everything.

2021-04-05 22:58:40 | [Mutex] isItemNotified: node_2sykk10203:subscribe_node:success :: true

2021-04-05 22:58:40 |


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


2021-04-05 22:58:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:58:40 | command: <data><node>node_2sykk10203</node><entry><content>content_oakna00204</content></entry></data>

2021-04-05 22:58:40 | target: http://localhost:8088

2021-04-05 22:58:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-05 22:58:40 | entity: <data><node>node_2sykk10203</node><entry><content>content_oakna00204</content></entry></data>

2021-04-05 22:58:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:58:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:58:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>48266cd8-79c2-4fda-a9d5-865a3f1530b7</value></item-id></result>

2021-04-05 22:58:40 | contains: true

2021-04-05 22:58:40 | [Mutex] waiting for: [user_regulari0zzju0202@test-domain.com:message:received:content_oakna00204]

2021-04-05 22:58:40 | [Mutex] received everything.

2021-04-05 22:58:40 | [Mutex] isItemNotified: user_regulari0zzju0202@test-domain.com:message:received:content_oakna00204 :: true

2021-04-05 22:58:40 |


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


2021-04-05 22:58:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:58:40 | command: <data><node>node_2sykk10203</node><expire-at>2021-04-06T05:58:35Z</expire-at><entry><content>content_xyuho50205</content></entry></data>

2021-04-05 22:58:40 | target: http://localhost:8088

2021-04-05 22:58:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-05 22:58:40 | entity: <data><node>node_2sykk10203</node><expire-at>2021-04-06T05:58:35Z</expire-at><entry><content>content_xyuho50205</content></entry></data>

2021-04-05 22:58:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:58:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:58:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b0df78df-79d5-4dcc-a801-8f9179eb81c0</value></item-id></result>

2021-04-05 22:58:40 | contains: true

2021-04-05 22:58:40 | [Mutex] waiting for: [user_regulari0zzju0202@test-domain.com:message:received:content_xyuho50205]

2021-04-05 22:58:55 | [Mutex] timeout. Not received [user_regulari0zzju0202@test-domain.com:message:received:content_xyuho50205]

2021-04-05 22:58:55 | [Mutex] isItemNotified: user_regulari0zzju0202@test-domain.com:message:received:content_xyuho50205 :: false

2021-04-05 22:58:55 |


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


2021-04-05 22:58:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:58:55 | command: <data><node>node_2sykk10203</node><entry><content>content_uzd7w0206</content></entry></data>

2021-04-05 22:58:55 | target: http://localhost:8088

2021-04-05 22:58:55 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-04-05 22:58:55 | entity: <data><node>node_2sykk10203</node><entry><content>content_uzd7w0206</content></entry></data>

2021-04-05 22:58:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:58:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:58:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>237b90ca-78ca-4f06-a0e3-0bd1ad716c70</value></item-id></result>

2021-04-05 22:58:55 | contains: true

2021-04-05 22:59:00 | [Mutex] waiting for: [user_regulari0zzju0202@test-domain.com:message:received:content_uzd7w0206]

2021-04-05 22:59:00 | [Mutex] received everything.

2021-04-05 22:59:00 | [Mutex] isItemNotified: user_regulari0zzju0202@test-domain.com:message:received:content_uzd7w0206 :: true

2021-04-05 22:59:00 |


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


2021-04-05 22:59:00 | [Mutex] received everything.

2021-04-05 22:59:00 | [Mutex] isItemNotified: node_2sykk10203:subscribe_node:success :: true

2021-04-05 22:59:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-05 22:59:00 | command: <data><node>node_2sykk10203</node><expire-at>2021-04-06T05:59:05Z</expire-at><entry><content>content_hp4w0s0207</content></entry></data>

2021-04-05 22:59:00 | target: http://localhost:8088

2021-04-05 22:59:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-05 22:59:00 | entity: <data><node>node_2sykk10203</node><expire-at>2021-04-06T05:59:05Z</expire-at><entry><content>content_hp4w0s0207</content></entry></data>

2021-04-05 22:59:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:59:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-05 22:59:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5cf40124-21b7-40aa-a04e-2a3b68bf2c30</value></item-id></result>

2021-04-05 22:59:00 | contains: true

2021-04-05 22:59:09 | [Mutex] waiting for: [user_regulari0zzju0202@test-domain.com:message:received:content_hp4w0s0207]

2021-04-05 22:59:24 | [Mutex] timeout. Not received [user_regulari0zzju0202@test-domain.com:message:received:content_hp4w0s0207]

2021-04-05 22:59:24 | [Mutex] received everything.

2021-04-05 22:59:24 | [Mutex] isItemNotified: user_regulari0zzju0202@test-domain.com:message:received:content_hp4w0s0207 :: false

2021-04-05 22:59:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hp4w0s0207 :: true