Generated by TestNG with ReportNG at 22:42 PDT on Sunday 11 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 : 45.613s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.862s
2020-10-11 22:57:47 |

2020-10-11 22:57:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-11 22:57:47 | ------------------------------------

2020-10-11 22:57:47 | [Mutex] isItemNotified: node_sxesjt0203:exists :: false

2020-10-11 22:57:47 | [Mutex] waiting for: [node_sxesjt0203:create_node]

2020-10-11 22:57:47 | [Mutex] received everything.

2020-10-11 22:57:47 | [Mutex] isItemNotified: node_sxesjt0203:create_node:success :: true

2020-10-11 22:57:47 | [Mutex] waiting for: [node_sxesjt0203:subscribe_node]

2020-10-11 22:57:47 | [Mutex] received everything.

2020-10-11 22:57:47 | [Mutex] isItemNotified: node_sxesjt0203:subscribe_node:success :: true

2020-10-11 22:57:47 |


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


2020-10-11 22:57:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:57:47 | command: <data><node>node_sxesjt0203</node><entry><content>content_rdt8t20204</content></entry></data>

2020-10-11 22:57:47 | target: http://localhost:8088

2020-10-11 22:57:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-11 22:57:47 | entity: <data><node>node_sxesjt0203</node><entry><content>content_rdt8t20204</content></entry></data>

2020-10-11 22:57:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:57:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:57:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>08b06185-54a6-40e9-bb8a-0d6936fb073b</value></item-id></result>

2020-10-11 22:57:47 | contains: true

2020-10-11 22:57:47 | [Mutex] waiting for: [user_regular6uu0od0202@test-domain.com:message:received:content_rdt8t20204]

2020-10-11 22:57:47 | [Mutex] received everything.

2020-10-11 22:57:47 | [Mutex] isItemNotified: user_regular6uu0od0202@test-domain.com:message:received:content_rdt8t20204 :: true

2020-10-11 22:57:47 |


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


2020-10-11 22:57:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:57:47 | command: <data><node>node_sxesjt0203</node><expire-at>2020-10-12T05:57:42Z</expire-at><entry><content>content_tw3hoz0205</content></entry></data>

2020-10-11 22:57:47 | target: http://localhost:8088

2020-10-11 22:57:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-11 22:57:47 | entity: <data><node>node_sxesjt0203</node><expire-at>2020-10-12T05:57:42Z</expire-at><entry><content>content_tw3hoz0205</content></entry></data>

2020-10-11 22:57:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:57:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:57:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>903e2e24-a6b5-4507-9964-abc82e5fdc46</value></item-id></result>

2020-10-11 22:57:47 | contains: true

2020-10-11 22:57:47 | [Mutex] waiting for: [user_regular6uu0od0202@test-domain.com:message:received:content_tw3hoz0205]

2020-10-11 22:58:02 | [Mutex] timeout. Not received [user_regular6uu0od0202@test-domain.com:message:received:content_tw3hoz0205]

2020-10-11 22:58:02 | [Mutex] isItemNotified: user_regular6uu0od0202@test-domain.com:message:received:content_tw3hoz0205 :: false

2020-10-11 22:58:02 |


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


2020-10-11 22:58:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:58:02 | command: <data><node>node_sxesjt0203</node><entry><content>content_7v6ego0206</content></entry></data>

2020-10-11 22:58:02 | target: http://localhost:8088

2020-10-11 22:58:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-11 22:58:02 | entity: <data><node>node_sxesjt0203</node><entry><content>content_7v6ego0206</content></entry></data>

2020-10-11 22:58:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:58:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:58:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37348365-0d3c-408d-bf79-acd63f4ce71d</value></item-id></result>

2020-10-11 22:58:02 | contains: true

2020-10-11 22:58:07 | [Mutex] waiting for: [user_regular6uu0od0202@test-domain.com:message:received:content_7v6ego0206]

2020-10-11 22:58:07 | [Mutex] waiting for: [user_regular6uu0od0202@test-domain.com:message:received:content_7v6ego0206]

2020-10-11 22:58:07 | [Mutex] received everything.

2020-10-11 22:58:07 | [Mutex] isItemNotified: user_regular6uu0od0202@test-domain.com:message:received:content_7v6ego0206 :: true

2020-10-11 22:58:07 |


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


2020-10-11 22:58:07 | [Mutex] received everything.

2020-10-11 22:58:07 | [Mutex] isItemNotified: node_sxesjt0203:subscribe_node:success :: true

2020-10-11 22:58:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:58:07 | command: <data><node>node_sxesjt0203</node><expire-at>2020-10-12T05:58:12Z</expire-at><entry><content>content_rkmrvi0207</content></entry></data>

2020-10-11 22:58:07 | target: http://localhost:8088

2020-10-11 22:58:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-11 22:58:07 | entity: <data><node>node_sxesjt0203</node><expire-at>2020-10-12T05:58:12Z</expire-at><entry><content>content_rkmrvi0207</content></entry></data>

2020-10-11 22:58:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:58:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:58:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b5443dc6-a9e2-4f82-a953-881bba244685</value></item-id></result>

2020-10-11 22:58:07 | contains: true

2020-10-11 22:58:15 | [Mutex] waiting for: [user_regular6uu0od0202@test-domain.com:message:received:content_rkmrvi0207]

2020-10-11 22:58:30 | [Mutex] timeout. Not received [user_regular6uu0od0202@test-domain.com:message:received:content_rkmrvi0207]

2020-10-11 22:58:30 | [Mutex] received everything.

2020-10-11 22:58:30 | [Mutex] isItemNotified: user_regular6uu0od0202@test-domain.com:message:received:content_rkmrvi0207 :: false

2020-10-11 22:58:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rkmrvi0207 :: true