Generated by TestNG with ReportNG at 22:18 PDT on Wednesday 17 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.777s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.613s
2022-08-17 22:33:19 |

2022-08-17 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-17 22:33:19 | ------------------------------------

2022-08-17 22:33:19 | [Mutex] isItemNotified: node_4puubz0204:exists :: false

2022-08-17 22:33:19 | [Mutex] waiting for: [node_4puubz0204:create_node]

2022-08-17 22:33:19 | [Mutex] received everything.

2022-08-17 22:33:19 | [Mutex] isItemNotified: node_4puubz0204:create_node:success :: true

2022-08-17 22:33:19 | [Mutex] waiting for: [node_4puubz0204:subscribe_node]

2022-08-17 22:33:19 | [Mutex] waiting for: [node_4puubz0204:subscribe_node]

2022-08-17 22:33:19 | [Mutex] received everything.

2022-08-17 22:33:19 | [Mutex] isItemNotified: node_4puubz0204:subscribe_node:success :: true

2022-08-17 22:33:19 |


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


2022-08-17 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-17 22:33:19 | command: <data><node>node_4puubz0204</node><entry><content>content_sjt13j0205</content></entry></data>

2022-08-17 22:33:19 | target: http://localhost:8088

2022-08-17 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-17 22:33:19 | entity: <data><node>node_4puubz0204</node><entry><content>content_sjt13j0205</content></entry></data>

2022-08-17 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-17 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1ff402f0-6c1f-447c-a449-6f99d84673cc</value></item-id></result>

2022-08-17 22:33:19 | contains: true

2022-08-17 22:33:19 | [Mutex] received everything.

2022-08-17 22:33:19 | [Mutex] isItemNotified: user_regularogj15q0203@test-domain.com:message:received:content_sjt13j0205 :: true

2022-08-17 22:33:19 |


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


2022-08-17 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-17 22:33:19 | command: <data><node>node_4puubz0204</node><expire-at>2022-08-18T05:33:14Z</expire-at><entry><content>content_wpd5jc0206</content></entry></data>

2022-08-17 22:33:19 | target: http://localhost:8088

2022-08-17 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-17 22:33:19 | entity: <data><node>node_4puubz0204</node><expire-at>2022-08-18T05:33:14Z</expire-at><entry><content>content_wpd5jc0206</content></entry></data>

2022-08-17 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-17 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>951199d2-7926-495f-946e-6626c23c998d</value></item-id></result>

2022-08-17 22:33:19 | contains: true

2022-08-17 22:33:19 | [Mutex] waiting for: [user_regularogj15q0203@test-domain.com:message:received:content_wpd5jc0206]

2022-08-17 22:33:34 | [Mutex] timeout. Not received [user_regularogj15q0203@test-domain.com:message:received:content_wpd5jc0206]

2022-08-17 22:33:34 | [Mutex] isItemNotified: user_regularogj15q0203@test-domain.com:message:received:content_wpd5jc0206 :: false

2022-08-17 22:33:34 |


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


2022-08-17 22:33:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-17 22:33:34 | command: <data><node>node_4puubz0204</node><entry><content>content_hjdccy0207</content></entry></data>

2022-08-17 22:33:34 | target: http://localhost:8088

2022-08-17 22:33:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-17 22:33:34 | entity: <data><node>node_4puubz0204</node><entry><content>content_hjdccy0207</content></entry></data>

2022-08-17 22:33:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-17 22:33:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4265671a-67fe-4f73-9e38-9ed2888f302d</value></item-id></result>

2022-08-17 22:33:34 | contains: true

2022-08-17 22:33:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-17 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-17 22:33:39 | [Mutex] waiting for: [user_regularogj15q0203@test-domain.com:message:received:content_hjdccy0207]

2022-08-17 22:33:39 | [Mutex] waiting for: [user_regularogj15q0203@test-domain.com:message:received:content_hjdccy0207]

2022-08-17 22:33:39 | [Mutex] received everything.

2022-08-17 22:33:39 | [Mutex] isItemNotified: user_regularogj15q0203@test-domain.com:message:received:content_hjdccy0207 :: true

2022-08-17 22:33:39 |


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


2022-08-17 22:33:39 | [Mutex] received everything.

2022-08-17 22:33:39 | [Mutex] isItemNotified: node_4puubz0204:subscribe_node:success :: true

2022-08-17 22:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-17 22:33:39 | command: <data><node>node_4puubz0204</node><expire-at>2022-08-18T05:33:44Z</expire-at><entry><content>content_zej6wo0208</content></entry></data>

2022-08-17 22:33:39 | target: http://localhost:8088

2022-08-17 22:33:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-17 22:33:39 | entity: <data><node>node_4puubz0204</node><expire-at>2022-08-18T05:33:44Z</expire-at><entry><content>content_zej6wo0208</content></entry></data>

2022-08-17 22:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-17 22:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1bf07c04-acf9-41a0-a459-1acfd6980eee</value></item-id></result>

2022-08-17 22:33:39 | contains: true

2022-08-17 22:33:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-17 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-17 22:33:48 | [Mutex] waiting for: [user_regularogj15q0203@test-domain.com:message:received:content_zej6wo0208]

2022-08-17 22:33:48 | [Mutex] waiting for: [user_regularogj15q0203@test-domain.com:message:received:content_zej6wo0208]

2022-08-17 22:34:03 | [Mutex] timeout. Not received [user_regularogj15q0203@test-domain.com:message:received:content_zej6wo0208]

2022-08-17 22:34:03 | [Mutex] received everything.

2022-08-17 22:34:03 | [Mutex] isItemNotified: user_regularogj15q0203@test-domain.com:message:received:content_zej6wo0208 :: false

2022-08-17 22:34:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_zej6wo0208 :: true