Generated by TestNG with ReportNG at 22:35 PDT on Thursday 14 April 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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.083s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.677s
2022-04-14 22:48:59 |

2022-04-14 22:48:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-14 22:48:59 | ------------------------------------

2022-04-14 22:48:59 | [Mutex] isItemNotified: node_5i8x3d0203:exists :: false

2022-04-14 22:48:59 | [Mutex] waiting for: [node_5i8x3d0203:create_node]

2022-04-14 22:48:59 | [Mutex] waiting for: [node_5i8x3d0203:create_node]

2022-04-14 22:48:59 | [Mutex] received everything.

2022-04-14 22:48:59 | [Mutex] isItemNotified: node_5i8x3d0203:create_node:success :: true

2022-04-14 22:48:59 | [Mutex] waiting for: [node_5i8x3d0203:subscribe_node]

2022-04-14 22:48:59 | [Mutex] waiting for: [node_5i8x3d0203:subscribe_node]

2022-04-14 22:48:59 | [Mutex] received everything.

2022-04-14 22:48:59 | [Mutex] isItemNotified: node_5i8x3d0203:subscribe_node:success :: true

2022-04-14 22:48:59 |


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


2022-04-14 22:48:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 22:48:59 | command: <data><node>node_5i8x3d0203</node><entry><content>content_uyz5aw0204</content></entry></data>

2022-04-14 22:48:59 | target: http://localhost:8088

2022-04-14 22:48:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-14 22:48:59 | entity: <data><node>node_5i8x3d0203</node><entry><content>content_uyz5aw0204</content></entry></data>

2022-04-14 22:48:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:48:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 22:48:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8ea4247-d0bc-4eab-a9fd-77d94bdead01</value></item-id></result>

2022-04-14 22:48:59 | contains: true

2022-04-14 22:48:59 | [Mutex] received everything.

2022-04-14 22:48:59 | [Mutex] isItemNotified: user_regularadjhwx0202@test-domain.com:message:received:content_uyz5aw0204 :: true

2022-04-14 22:48:59 |


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


2022-04-14 22:48:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 22:48:59 | command: <data><node>node_5i8x3d0203</node><expire-at>2022-04-15T05:48:54Z</expire-at><entry><content>content_jt07fk0205</content></entry></data>

2022-04-14 22:48:59 | target: http://localhost:8088

2022-04-14 22:48:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-14 22:48:59 | entity: <data><node>node_5i8x3d0203</node><expire-at>2022-04-15T05:48:54Z</expire-at><entry><content>content_jt07fk0205</content></entry></data>

2022-04-14 22:48:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:48:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 22:48:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8fb1d38f-4ccb-4747-85e5-67996f74b842</value></item-id></result>

2022-04-14 22:48:59 | contains: true

2022-04-14 22:48:59 | [Mutex] waiting for: [user_regularadjhwx0202@test-domain.com:message:received:content_jt07fk0205]

2022-04-14 22:49:14 | [Mutex] timeout. Not received [user_regularadjhwx0202@test-domain.com:message:received:content_jt07fk0205]

2022-04-14 22:49:14 | [Mutex] isItemNotified: user_regularadjhwx0202@test-domain.com:message:received:content_jt07fk0205 :: false

2022-04-14 22:49:14 |


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


2022-04-14 22:49:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 22:49:14 | command: <data><node>node_5i8x3d0203</node><entry><content>content_xegy080206</content></entry></data>

2022-04-14 22:49:14 | target: http://localhost:8088

2022-04-14 22:49:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-14 22:49:14 | entity: <data><node>node_5i8x3d0203</node><entry><content>content_xegy080206</content></entry></data>

2022-04-14 22:49:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:49:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 22:49:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97e51e91-6892-4b85-a9a5-a5b6ef01cc1e</value></item-id></result>

2022-04-14 22:49:14 | contains: true

2022-04-14 22:49:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-14 22:49:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-04-14 22:49:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-14 22:49:19 | [Mutex] waiting for: [user_regularadjhwx0202@test-domain.com:message:received:content_xegy080206]

2022-04-14 22:49:19 | [Mutex] waiting for: [user_regularadjhwx0202@test-domain.com:message:received:content_xegy080206]

2022-04-14 22:49:19 | [Mutex] received everything.

2022-04-14 22:49:19 | [Mutex] isItemNotified: user_regularadjhwx0202@test-domain.com:message:received:content_xegy080206 :: true

2022-04-14 22:49:19 |


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


2022-04-14 22:49:19 | [Mutex] received everything.

2022-04-14 22:49:19 | [Mutex] isItemNotified: node_5i8x3d0203:subscribe_node:success :: true

2022-04-14 22:49:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-14 22:49:19 | command: <data><node>node_5i8x3d0203</node><expire-at>2022-04-15T05:49:24Z</expire-at><entry><content>content_nmrfps0207</content></entry></data>

2022-04-14 22:49:19 | target: http://localhost:8088

2022-04-14 22:49:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-14 22:49:19 | entity: <data><node>node_5i8x3d0203</node><expire-at>2022-04-15T05:49:24Z</expire-at><entry><content>content_nmrfps0207</content></entry></data>

2022-04-14 22:49:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:49:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-14 22:49:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8982380e-f415-443b-a57a-bdab49ec6dce</value></item-id></result>

2022-04-14 22:49:19 | contains: true

2022-04-14 22:49:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-04-14 22:49:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222

2022-04-14 22:49:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-14 22:49:28 | [Mutex] waiting for: [user_regularadjhwx0202@test-domain.com:message:received:content_nmrfps0207]

2022-04-14 22:49:28 | [Mutex] waiting for: [user_regularadjhwx0202@test-domain.com:message:received:content_nmrfps0207]

2022-04-14 22:49:28 | [Mutex] waiting for: [user_regularadjhwx0202@test-domain.com:message:received:content_nmrfps0207]

2022-04-14 22:49:43 | [Mutex] timeout. Not received [user_regularadjhwx0202@test-domain.com:message:received:content_nmrfps0207]

2022-04-14 22:49:43 | [Mutex] received everything.

2022-04-14 22:49:43 | [Mutex] isItemNotified: user_regularadjhwx0202@test-domain.com:message:received:content_nmrfps0207 :: false

2022-04-14 22:49:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nmrfps0207 :: true