Generated by TestNG with ReportNG at 22:19 PDT on Thursday 18 August 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.674s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.612s
2022-08-18 22:34:31 |

2022-08-18 22:34:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-18 22:34:31 | ------------------------------------

2022-08-18 22:34:31 | [Mutex] isItemNotified: node_ygqjg10204:exists :: false

2022-08-18 22:34:31 | [Mutex] waiting for: [node_ygqjg10204:create_node]

2022-08-18 22:34:31 | [Mutex] received everything.

2022-08-18 22:34:31 | [Mutex] isItemNotified: node_ygqjg10204:create_node:success :: true

2022-08-18 22:34:31 | [Mutex] waiting for: [node_ygqjg10204:subscribe_node]

2022-08-18 22:34:31 | [Mutex] waiting for: [node_ygqjg10204:subscribe_node]

2022-08-18 22:34:31 | [Mutex] received everything.

2022-08-18 22:34:31 | [Mutex] isItemNotified: node_ygqjg10204:subscribe_node:success :: true

2022-08-18 22:34:31 |


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


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

2022-08-18 22:34:31 | command: <data><node>node_ygqjg10204</node><entry><content>content_jm1bo00205</content></entry></data>

2022-08-18 22:34:31 | target: http://localhost:8088

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

2022-08-18 22:34:31 | entity: <data><node>node_ygqjg10204</node><entry><content>content_jm1bo00205</content></entry></data>

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

2022-08-18 22:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2cb70ca0-2694-4e7c-91b9-f923c7b49c23</value></item-id></result>

2022-08-18 22:34:31 | contains: true

2022-08-18 22:34:31 | [Mutex] received everything.

2022-08-18 22:34:31 | [Mutex] isItemNotified: user_regularmmtazo0203@test-domain.com:message:received:content_jm1bo00205 :: true

2022-08-18 22:34:31 |


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


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

2022-08-18 22:34:31 | command: <data><node>node_ygqjg10204</node><expire-at>2022-08-19T05:34:26Z</expire-at><entry><content>content_5btgbb0206</content></entry></data>

2022-08-18 22:34:31 | target: http://localhost:8088

2022-08-18 22:34:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-18 22:34:31 | entity: <data><node>node_ygqjg10204</node><expire-at>2022-08-19T05:34:26Z</expire-at><entry><content>content_5btgbb0206</content></entry></data>

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

2022-08-18 22:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>28101579-6bda-4b2c-a200-0e420f5d26d6</value></item-id></result>

2022-08-18 22:34:31 | contains: true

2022-08-18 22:34:31 | [Mutex] waiting for: [user_regularmmtazo0203@test-domain.com:message:received:content_5btgbb0206]

2022-08-18 22:34:46 | [Mutex] timeout. Not received [user_regularmmtazo0203@test-domain.com:message:received:content_5btgbb0206]

2022-08-18 22:34:46 | [Mutex] isItemNotified: user_regularmmtazo0203@test-domain.com:message:received:content_5btgbb0206 :: false

2022-08-18 22:34:46 |


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


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

2022-08-18 22:34:46 | command: <data><node>node_ygqjg10204</node><entry><content>content_ei51ys0207</content></entry></data>

2022-08-18 22:34:46 | target: http://localhost:8088

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

2022-08-18 22:34:46 | entity: <data><node>node_ygqjg10204</node><entry><content>content_ei51ys0207</content></entry></data>

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

2022-08-18 22:34:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dcdf2746-9d81-4459-bffd-1a1ddd42a2df</value></item-id></result>

2022-08-18 22:34:46 | contains: true

2022-08-18 22:34:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-18 22:34:51 | [Mutex] waiting for: [user_regularmmtazo0203@test-domain.com:message:received:content_ei51ys0207]

2022-08-18 22:34:51 | [Mutex] received everything.

2022-08-18 22:34:51 | [Mutex] isItemNotified: user_regularmmtazo0203@test-domain.com:message:received:content_ei51ys0207 :: true

2022-08-18 22:34:51 |


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


2022-08-18 22:34:51 | [Mutex] received everything.

2022-08-18 22:34:51 | [Mutex] isItemNotified: node_ygqjg10204:subscribe_node:success :: true

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

2022-08-18 22:34:51 | command: <data><node>node_ygqjg10204</node><expire-at>2022-08-19T05:34:56Z</expire-at><entry><content>content_mtl6hv0208</content></entry></data>

2022-08-18 22:34:51 | target: http://localhost:8088

2022-08-18 22:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-18 22:34:51 | entity: <data><node>node_ygqjg10204</node><expire-at>2022-08-19T05:34:56Z</expire-at><entry><content>content_mtl6hv0208</content></entry></data>

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

2022-08-18 22:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67c75fa3-081b-4b3e-854c-01573085d5cb</value></item-id></result>

2022-08-18 22:34:51 | contains: true

2022-08-18 22:34:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-18 22:34:59 | [Mutex] waiting for: [user_regularmmtazo0203@test-domain.com:message:received:content_mtl6hv0208]

2022-08-18 22:34:59 | [Mutex] waiting for: [user_regularmmtazo0203@test-domain.com:message:received:content_mtl6hv0208]

2022-08-18 22:34:59 | [Mutex] waiting for: [user_regularmmtazo0203@test-domain.com:message:received:content_mtl6hv0208]

2022-08-18 22:35:14 | [Mutex] timeout. Not received [user_regularmmtazo0203@test-domain.com:message:received:content_mtl6hv0208]

2022-08-18 22:35:14 | [Mutex] received everything.

2022-08-18 22:35:14 | [Mutex] isItemNotified: user_regularmmtazo0203@test-domain.com:message:received:content_mtl6hv0208 :: false

2022-08-18 22:35:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mtl6hv0208 :: true