Generated by TestNG with ReportNG at 21:13 PST on Sunday 14 February 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.534s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.781s
2021-02-14 21:29:52 |

2021-02-14 21:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-14 21:29:52 | ------------------------------------

2021-02-14 21:29:52 | [Mutex] isItemNotified: node_tiujct0203:exists :: false

2021-02-14 21:29:52 | [Mutex] waiting for: [node_tiujct0203:create_node]

2021-02-14 21:29:52 | [Mutex] received everything.

2021-02-14 21:29:52 | [Mutex] isItemNotified: node_tiujct0203:create_node:success :: true

2021-02-14 21:29:52 | [Mutex] waiting for: [node_tiujct0203:subscribe_node]

2021-02-14 21:29:52 | [Mutex] received everything.

2021-02-14 21:29:52 | [Mutex] isItemNotified: node_tiujct0203:subscribe_node:success :: true

2021-02-14 21:29:52 |


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


2021-02-14 21:29:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:29:52 | command: <data><node>node_tiujct0203</node><entry><content>content_6t3u160204</content></entry></data>

2021-02-14 21:29:52 | target: http://localhost:8088

2021-02-14 21:29:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-14 21:29:52 | entity: <data><node>node_tiujct0203</node><entry><content>content_6t3u160204</content></entry></data>

2021-02-14 21:29:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:29:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:29:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3ff9b0a8-6e5d-4b98-a9fe-7049d611b4e5</value></item-id></result>

2021-02-14 21:29:52 | contains: true

2021-02-14 21:29:52 | [Mutex] waiting for: [user_regular2lt4wg0202@test-domain.com:message:received:content_6t3u160204]

2021-02-14 21:29:52 | [Mutex] received everything.

2021-02-14 21:29:52 | [Mutex] isItemNotified: user_regular2lt4wg0202@test-domain.com:message:received:content_6t3u160204 :: true

2021-02-14 21:29:52 |


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


2021-02-14 21:29:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:29:52 | command: <data><node>node_tiujct0203</node><expire-at>2021-02-15T05:29:47Z</expire-at><entry><content>content_826xqf0205</content></entry></data>

2021-02-14 21:29:52 | target: http://localhost:8088

2021-02-14 21:29:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-14 21:29:52 | entity: <data><node>node_tiujct0203</node><expire-at>2021-02-15T05:29:47Z</expire-at><entry><content>content_826xqf0205</content></entry></data>

2021-02-14 21:29:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:29:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:29:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>defdfd5a-6286-4619-8c6e-c7b29c75e74d</value></item-id></result>

2021-02-14 21:29:52 | contains: true

2021-02-14 21:29:52 | [Mutex] waiting for: [user_regular2lt4wg0202@test-domain.com:message:received:content_826xqf0205]

2021-02-14 21:30:07 | [Mutex] timeout. Not received [user_regular2lt4wg0202@test-domain.com:message:received:content_826xqf0205]

2021-02-14 21:30:07 | [Mutex] isItemNotified: user_regular2lt4wg0202@test-domain.com:message:received:content_826xqf0205 :: false

2021-02-14 21:30:07 |


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


2021-02-14 21:30:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:30:07 | command: <data><node>node_tiujct0203</node><entry><content>content_jaz81l0206</content></entry></data>

2021-02-14 21:30:07 | target: http://localhost:8088

2021-02-14 21:30:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-14 21:30:07 | entity: <data><node>node_tiujct0203</node><entry><content>content_jaz81l0206</content></entry></data>

2021-02-14 21:30:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:30:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:30:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b4880ef4-64b8-4537-94f2-0305c6191a6b</value></item-id></result>

2021-02-14 21:30:07 | contains: true

2021-02-14 21:30:12 | [Mutex] waiting for: [user_regular2lt4wg0202@test-domain.com:message:received:content_jaz81l0206]

2021-02-14 21:30:12 | [Mutex] received everything.

2021-02-14 21:30:12 | [Mutex] isItemNotified: user_regular2lt4wg0202@test-domain.com:message:received:content_jaz81l0206 :: true

2021-02-14 21:30:12 |


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


2021-02-14 21:30:12 | [Mutex] received everything.

2021-02-14 21:30:12 | [Mutex] isItemNotified: node_tiujct0203:subscribe_node:success :: true

2021-02-14 21:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-14 21:30:12 | command: <data><node>node_tiujct0203</node><expire-at>2021-02-15T05:30:17Z</expire-at><entry><content>content_cm9u800207</content></entry></data>

2021-02-14 21:30:12 | target: http://localhost:8088

2021-02-14 21:30:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-14 21:30:12 | entity: <data><node>node_tiujct0203</node><expire-at>2021-02-15T05:30:17Z</expire-at><entry><content>content_cm9u800207</content></entry></data>

2021-02-14 21:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-14 21:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>24a95a44-f1b6-4bca-a398-47434884ddf4</value></item-id></result>

2021-02-14 21:30:12 | contains: true

2021-02-14 21:30:21 | [Mutex] waiting for: [user_regular2lt4wg0202@test-domain.com:message:received:content_cm9u800207]

2021-02-14 21:30:21 | [Mutex] waiting for: [user_regular2lt4wg0202@test-domain.com:message:received:content_cm9u800207]

2021-02-14 21:30:36 | [Mutex] timeout. Not received [user_regular2lt4wg0202@test-domain.com:message:received:content_cm9u800207]

2021-02-14 21:30:36 | [Mutex] received everything.

2021-02-14 21:30:36 | [Mutex] isItemNotified: user_regular2lt4wg0202@test-domain.com:message:received:content_cm9u800207 :: false

2021-02-14 21:30:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cm9u800207 :: true