Generated by TestNG with ReportNG at 21:25 PST on Tuesday 02 February 2021
root@eaa73862192b / 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.568s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.790s
2021-02-02 21:40:54 |

2021-02-02 21:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-02 21:40:54 | ------------------------------------

2021-02-02 21:40:54 | [Mutex] isItemNotified: node_jl0n5x0203:exists :: false

2021-02-02 21:40:54 | [Mutex] waiting for: [node_jl0n5x0203:create_node]

2021-02-02 21:40:54 | [Mutex] received everything.

2021-02-02 21:40:54 | [Mutex] isItemNotified: node_jl0n5x0203:create_node:success :: true

2021-02-02 21:40:54 | [Mutex] waiting for: [node_jl0n5x0203:subscribe_node]

2021-02-02 21:40:54 | [Mutex] waiting for: [node_jl0n5x0203:subscribe_node]

2021-02-02 21:40:54 | [Mutex] received everything.

2021-02-02 21:40:54 | [Mutex] isItemNotified: node_jl0n5x0203:subscribe_node:success :: true

2021-02-02 21:40:54 |


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


2021-02-02 21:40:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:40:54 | command: <data><node>node_jl0n5x0203</node><entry><content>content_dx6fub0204</content></entry></data>

2021-02-02 21:40:54 | target: http://localhost:8088

2021-02-02 21:40:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 21:40:54 | entity: <data><node>node_jl0n5x0203</node><entry><content>content_dx6fub0204</content></entry></data>

2021-02-02 21:40:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:40:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:40:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fe742724-52b9-4a5c-ad75-8cee97dd2236</value></item-id></result>

2021-02-02 21:40:54 | contains: true

2021-02-02 21:40:54 | [Mutex] received everything.

2021-02-02 21:40:54 | [Mutex] isItemNotified: user_regular5gsxer0202@test-domain.com:message:received:content_dx6fub0204 :: true

2021-02-02 21:40:54 |


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


2021-02-02 21:40:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:40:54 | command: <data><node>node_jl0n5x0203</node><expire-at>2021-02-03T05:40:49Z</expire-at><entry><content>content_4hd4t10205</content></entry></data>

2021-02-02 21:40:54 | target: http://localhost:8088

2021-02-02 21:40:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:40:54 | entity: <data><node>node_jl0n5x0203</node><expire-at>2021-02-03T05:40:49Z</expire-at><entry><content>content_4hd4t10205</content></entry></data>

2021-02-02 21:40:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:40:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:40:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d415a078-49b2-44fa-a013-7d18a33a6788</value></item-id></result>

2021-02-02 21:40:54 | contains: true

2021-02-02 21:40:54 | [Mutex] waiting for: [user_regular5gsxer0202@test-domain.com:message:received:content_4hd4t10205]

2021-02-02 21:41:09 | [Mutex] timeout. Not received [user_regular5gsxer0202@test-domain.com:message:received:content_4hd4t10205]

2021-02-02 21:41:09 | [Mutex] isItemNotified: user_regular5gsxer0202@test-domain.com:message:received:content_4hd4t10205 :: false

2021-02-02 21:41:09 |


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


2021-02-02 21:41:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:41:09 | command: <data><node>node_jl0n5x0203</node><entry><content>content_yrj9jf0206</content></entry></data>

2021-02-02 21:41:09 | target: http://localhost:8088

2021-02-02 21:41:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-02-02 21:41:09 | entity: <data><node>node_jl0n5x0203</node><entry><content>content_yrj9jf0206</content></entry></data>

2021-02-02 21:41:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Feb 2021 05:41:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-02 21:41:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36dce32d-c629-4141-9c86-fada480ae4a9</value></item-id></result>

2021-02-02 21:41:09 | contains: true

2021-02-02 21:41:15 | [Mutex] waiting for: [user_regular5gsxer0202@test-domain.com:message:received:content_yrj9jf0206]

2021-02-02 21:41:15 | [Mutex] received everything.

2021-02-02 21:41:15 | [Mutex] isItemNotified: user_regular5gsxer0202@test-domain.com:message:received:content_yrj9jf0206 :: true

2021-02-02 21:41:15 |


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


2021-02-02 21:41:15 | [Mutex] received everything.

2021-02-02 21:41:15 | [Mutex] isItemNotified: node_jl0n5x0203:subscribe_node:success :: true

2021-02-02 21:41:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-02 21:41:15 | command: <data><node>node_jl0n5x0203</node><expire-at>2021-02-03T05:41:20Z</expire-at><entry><content>content_lmrbyu0207</content></entry></data>

2021-02-02 21:41:15 | target: http://localhost:8088

2021-02-02 21:41:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-02-02 21:41:15 | entity: <data><node>node_jl0n5x0203</node><expire-at>2021-02-03T05:41:20Z</expire-at><entry><content>content_lmrbyu0207</content></entry></data>

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

2021-02-02 21:41:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9e8ac46-2133-417a-9315-f5785db02f08</value></item-id></result>

2021-02-02 21:41:15 | contains: true

2021-02-02 21:41:23 | [Mutex] waiting for: [user_regular5gsxer0202@test-domain.com:message:received:content_lmrbyu0207]

2021-02-02 21:41:23 | [Mutex] waiting for: [user_regular5gsxer0202@test-domain.com:message:received:content_lmrbyu0207]

2021-02-02 21:41:38 | [Mutex] timeout. Not received [user_regular5gsxer0202@test-domain.com:message:received:content_lmrbyu0207]

2021-02-02 21:41:38 | [Mutex] received everything.

2021-02-02 21:41:38 | [Mutex] isItemNotified: user_regular5gsxer0202@test-domain.com:message:received:content_lmrbyu0207 :: false

2021-02-02 21:41:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lmrbyu0207 :: true