Generated by TestNG with ReportNG at 22:18 PDT on Tuesday 26 July 2022
root@f9c07ffec79b / 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.785s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.517s
2022-07-26 22:32:51 |

2022-07-26 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-26 22:32:51 | ------------------------------------

2022-07-26 22:32:51 | [Mutex] isItemNotified: node_fa2cq10204:exists :: false

2022-07-26 22:32:51 | [Mutex] waiting for: [node_fa2cq10204:create_node]

2022-07-26 22:32:51 | [Mutex] waiting for: [node_fa2cq10204:create_node]

2022-07-26 22:32:51 | [Mutex] received everything.

2022-07-26 22:32:51 | [Mutex] isItemNotified: node_fa2cq10204:create_node:success :: true

2022-07-26 22:32:51 | [Mutex] waiting for: [node_fa2cq10204:subscribe_node]

2022-07-26 22:32:51 | [Mutex] received everything.

2022-07-26 22:32:51 | [Mutex] isItemNotified: node_fa2cq10204:subscribe_node:success :: true

2022-07-26 22:32:51 |


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


2022-07-26 22:32:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 22:32:51 | command: <data><node>node_fa2cq10204</node><entry><content>content_geylyn0205</content></entry></data>

2022-07-26 22:32:51 | target: http://localhost:8088

2022-07-26 22:32:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-26 22:32:51 | entity: <data><node>node_fa2cq10204</node><entry><content>content_geylyn0205</content></entry></data>

2022-07-26 22:32:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:32:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 22:32:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e9692241-4577-40f4-8f18-f694ed9a769c</value></item-id></result>

2022-07-26 22:32:51 | contains: true

2022-07-26 22:32:51 | [Mutex] received everything.

2022-07-26 22:32:51 | [Mutex] isItemNotified: user_regulargg6d60203@test-domain.com:message:received:content_geylyn0205 :: true

2022-07-26 22:32:51 |


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


2022-07-26 22:32:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 22:32:51 | command: <data><node>node_fa2cq10204</node><expire-at>2022-07-27T05:32:46Z</expire-at><entry><content>content_jr3hfs0206</content></entry></data>

2022-07-26 22:32:51 | target: http://localhost:8088

2022-07-26 22:32:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-26 22:32:51 | entity: <data><node>node_fa2cq10204</node><expire-at>2022-07-27T05:32:46Z</expire-at><entry><content>content_jr3hfs0206</content></entry></data>

2022-07-26 22:32:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:32:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 22:32:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b48c5735-0b4b-472f-a78e-b58694e3b15f</value></item-id></result>

2022-07-26 22:32:51 | contains: true

2022-07-26 22:32:51 | [Mutex] waiting for: [user_regulargg6d60203@test-domain.com:message:received:content_jr3hfs0206]

2022-07-26 22:33:06 | [Mutex] timeout. Not received [user_regulargg6d60203@test-domain.com:message:received:content_jr3hfs0206]

2022-07-26 22:33:06 | [Mutex] isItemNotified: user_regulargg6d60203@test-domain.com:message:received:content_jr3hfs0206 :: false

2022-07-26 22:33:06 |


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


2022-07-26 22:33:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 22:33:06 | command: <data><node>node_fa2cq10204</node><entry><content>content_ym7ssr0207</content></entry></data>

2022-07-26 22:33:06 | target: http://localhost:8088

2022-07-26 22:33:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-26 22:33:06 | entity: <data><node>node_fa2cq10204</node><entry><content>content_ym7ssr0207</content></entry></data>

2022-07-26 22:33:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:33:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 22:33:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a23a9a3e-1235-4c45-b6f8-b2c3b7e1b98a</value></item-id></result>

2022-07-26 22:33:06 | contains: true

2022-07-26 22:33:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-26 22:33:11 | [Mutex] waiting for: [user_regulargg6d60203@test-domain.com:message:received:content_ym7ssr0207]

2022-07-26 22:33:11 | [Mutex] received everything.

2022-07-26 22:33:11 | [Mutex] isItemNotified: user_regulargg6d60203@test-domain.com:message:received:content_ym7ssr0207 :: true

2022-07-26 22:33:11 |


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


2022-07-26 22:33:11 | [Mutex] received everything.

2022-07-26 22:33:11 | [Mutex] isItemNotified: node_fa2cq10204:subscribe_node:success :: true

2022-07-26 22:33:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 22:33:11 | command: <data><node>node_fa2cq10204</node><expire-at>2022-07-27T05:33:16Z</expire-at><entry><content>content_3vjb3f0208</content></entry></data>

2022-07-26 22:33:11 | target: http://localhost:8088

2022-07-26 22:33:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-26 22:33:11 | entity: <data><node>node_fa2cq10204</node><expire-at>2022-07-27T05:33:16Z</expire-at><entry><content>content_3vjb3f0208</content></entry></data>

2022-07-26 22:33:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jul 2022 05:33:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-26 22:33:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37f5e43e-80ca-4f6c-b404-fe089b649255</value></item-id></result>

2022-07-26 22:33:11 | contains: true

2022-07-26 22:33:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-26 22:33:19 | [Mutex] waiting for: [user_regulargg6d60203@test-domain.com:message:received:content_3vjb3f0208]

2022-07-26 22:33:34 | [Mutex] timeout. Not received [user_regulargg6d60203@test-domain.com:message:received:content_3vjb3f0208]

2022-07-26 22:33:34 | [Mutex] received everything.

2022-07-26 22:33:34 | [Mutex] isItemNotified: user_regulargg6d60203@test-domain.com:message:received:content_3vjb3f0208 :: false

2022-07-26 22:33:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3vjb3f0208 :: true