Generated by TestNG with ReportNG at 22:50 PDT on Tuesday 23 August 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.702s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.561s
2022-08-23 23:04:59 |

2022-08-23 23:04:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-23 23:04:59 | ------------------------------------

2022-08-23 23:04:59 | [Mutex] isItemNotified: node_ck2hs50204:exists :: false

2022-08-23 23:04:59 | [Mutex] waiting for: [node_ck2hs50204:create_node]

2022-08-23 23:04:59 | [Mutex] received everything.

2022-08-23 23:04:59 | [Mutex] isItemNotified: node_ck2hs50204:create_node:success :: true

2022-08-23 23:04:59 | [Mutex] waiting for: [node_ck2hs50204:subscribe_node]

2022-08-23 23:04:59 | [Mutex] received everything.

2022-08-23 23:04:59 | [Mutex] isItemNotified: node_ck2hs50204:subscribe_node:success :: true

2022-08-23 23:04:59 |


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


2022-08-23 23:04:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-23 23:04:59 | command: <data><node>node_ck2hs50204</node><entry><content>content_r2g0gt0205</content></entry></data>

2022-08-23 23:04:59 | target: http://localhost:8088

2022-08-23 23:04:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-23 23:04:59 | entity: <data><node>node_ck2hs50204</node><entry><content>content_r2g0gt0205</content></entry></data>

2022-08-23 23:04:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 06:04:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-23 23:04:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c95df53e-d5ae-4a90-a3be-018d5cb70f07</value></item-id></result>

2022-08-23 23:04:59 | contains: true

2022-08-23 23:04:59 | [Mutex] received everything.

2022-08-23 23:04:59 | [Mutex] isItemNotified: user_regularesdckx0203@test-domain.com:message:received:content_r2g0gt0205 :: true

2022-08-23 23:04:59 |


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


2022-08-23 23:04:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-23 23:04:59 | command: <data><node>node_ck2hs50204</node><expire-at>2022-08-24T06:04:54Z</expire-at><entry><content>content_wvz9ip0206</content></entry></data>

2022-08-23 23:04:59 | target: http://localhost:8088

2022-08-23 23:04:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-23 23:04:59 | entity: <data><node>node_ck2hs50204</node><expire-at>2022-08-24T06:04:54Z</expire-at><entry><content>content_wvz9ip0206</content></entry></data>

2022-08-23 23:04:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 06:04:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-23 23:04:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>28dfb06e-3ea5-4727-b226-812dca221096</value></item-id></result>

2022-08-23 23:04:59 | contains: true

2022-08-23 23:04:59 | [Mutex] waiting for: [user_regularesdckx0203@test-domain.com:message:received:content_wvz9ip0206]

2022-08-23 23:05:14 | [Mutex] timeout. Not received [user_regularesdckx0203@test-domain.com:message:received:content_wvz9ip0206]

2022-08-23 23:05:14 | [Mutex] isItemNotified: user_regularesdckx0203@test-domain.com:message:received:content_wvz9ip0206 :: false

2022-08-23 23:05:14 |


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


2022-08-23 23:05:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-23 23:05:14 | command: <data><node>node_ck2hs50204</node><entry><content>content_67ljoq0207</content></entry></data>

2022-08-23 23:05:14 | target: http://localhost:8088

2022-08-23 23:05:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-23 23:05:14 | entity: <data><node>node_ck2hs50204</node><entry><content>content_67ljoq0207</content></entry></data>

2022-08-23 23:05:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 06:05:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-23 23:05:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f4ddfd31-b5c0-4691-965e-f78d80ed4eba</value></item-id></result>

2022-08-23 23:05:14 | contains: true

2022-08-23 23:05:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-23 23:05:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-23 23:05:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-23 23:05:19 | [Mutex] waiting for: [user_regularesdckx0203@test-domain.com:message:received:content_67ljoq0207]

2022-08-23 23:05:19 | [Mutex] waiting for: [user_regularesdckx0203@test-domain.com:message:received:content_67ljoq0207]

2022-08-23 23:05:19 | [Mutex] received everything.

2022-08-23 23:05:19 | [Mutex] isItemNotified: user_regularesdckx0203@test-domain.com:message:received:content_67ljoq0207 :: true

2022-08-23 23:05:19 |


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


2022-08-23 23:05:19 | [Mutex] received everything.

2022-08-23 23:05:19 | [Mutex] isItemNotified: node_ck2hs50204:subscribe_node:success :: true

2022-08-23 23:05:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-23 23:05:19 | command: <data><node>node_ck2hs50204</node><expire-at>2022-08-24T06:05:24Z</expire-at><entry><content>content_sr5nzz0208</content></entry></data>

2022-08-23 23:05:19 | target: http://localhost:8088

2022-08-23 23:05:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-23 23:05:19 | entity: <data><node>node_ck2hs50204</node><expire-at>2022-08-24T06:05:24Z</expire-at><entry><content>content_sr5nzz0208</content></entry></data>

2022-08-23 23:05:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 06:05:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-23 23:05:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0407776d-7065-4a88-9161-e9a7c4e015ca</value></item-id></result>

2022-08-23 23:05:19 | contains: true

2022-08-23 23:05:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-23 23:05:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-23 23:05:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-23 23:05:27 | [Mutex] waiting for: [user_regularesdckx0203@test-domain.com:message:received:content_sr5nzz0208]

2022-08-23 23:05:42 | [Mutex] timeout. Not received [user_regularesdckx0203@test-domain.com:message:received:content_sr5nzz0208]

2022-08-23 23:05:42 | [Mutex] received everything.

2022-08-23 23:05:42 | [Mutex] isItemNotified: user_regularesdckx0203@test-domain.com:message:received:content_sr5nzz0208 :: false

2022-08-23 23:05:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sr5nzz0208 :: true