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

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.633s
2022-07-26 23:08:53 |

2022-07-26 23:08:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-26 23:08:53 | ------------------------------------

2022-07-26 23:08:53 | [Mutex] isItemNotified: node_cgsvgd0204:exists :: false

2022-07-26 23:08:53 | [Mutex] waiting for: [node_cgsvgd0204:create_node]

2022-07-26 23:08:53 | [Mutex] received everything.

2022-07-26 23:08:53 | [Mutex] isItemNotified: node_cgsvgd0204:create_node:success :: true

2022-07-26 23:08:53 | [Mutex] waiting for: [node_cgsvgd0204:subscribe_node]

2022-07-26 23:08:53 | [Mutex] received everything.

2022-07-26 23:08:53 | [Mutex] isItemNotified: node_cgsvgd0204:subscribe_node:success :: true

2022-07-26 23:08:53 |


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


2022-07-26 23:08:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:08:53 | command: <data><node>node_cgsvgd0204</node><entry><content>content_a29emt0205</content></entry></data>

2022-07-26 23:08:53 | target: http://localhost:8088

2022-07-26 23:08:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-26 23:08:53 | entity: <data><node>node_cgsvgd0204</node><entry><content>content_a29emt0205</content></entry></data>

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

2022-07-26 23:08:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>efc862de-7e89-497b-bcd8-84b9a0f5c665</value></item-id></result>

2022-07-26 23:08:53 | contains: true

2022-07-26 23:08:53 | [Mutex] waiting for: [user_regularuhyraw0203@test-domain.com:message:received:content_a29emt0205]

2022-07-26 23:08:53 | [Mutex] received everything.

2022-07-26 23:08:53 | [Mutex] isItemNotified: user_regularuhyraw0203@test-domain.com:message:received:content_a29emt0205 :: true

2022-07-26 23:08:53 |


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


2022-07-26 23:08:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:08:53 | command: <data><node>node_cgsvgd0204</node><expire-at>2022-07-27T06:08:48Z</expire-at><entry><content>content_jw5i140206</content></entry></data>

2022-07-26 23:08:53 | target: http://localhost:8088

2022-07-26 23:08:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-26 23:08:53 | entity: <data><node>node_cgsvgd0204</node><expire-at>2022-07-27T06:08:48Z</expire-at><entry><content>content_jw5i140206</content></entry></data>

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

2022-07-26 23:08:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>60740314-124a-4c4f-a55a-8601cef35f95</value></item-id></result>

2022-07-26 23:08:53 | contains: true

2022-07-26 23:08:53 | [Mutex] waiting for: [user_regularuhyraw0203@test-domain.com:message:received:content_jw5i140206]

2022-07-26 23:09:08 | [Mutex] timeout. Not received [user_regularuhyraw0203@test-domain.com:message:received:content_jw5i140206]

2022-07-26 23:09:08 | [Mutex] isItemNotified: user_regularuhyraw0203@test-domain.com:message:received:content_jw5i140206 :: false

2022-07-26 23:09:08 |


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


2022-07-26 23:09:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:09:08 | command: <data><node>node_cgsvgd0204</node><entry><content>content_2l39iy0207</content></entry></data>

2022-07-26 23:09:08 | target: http://localhost:8088

2022-07-26 23:09:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-26 23:09:08 | entity: <data><node>node_cgsvgd0204</node><entry><content>content_2l39iy0207</content></entry></data>

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

2022-07-26 23:09:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a140f2f-4755-441f-ace3-f36e57acf1ef</value></item-id></result>

2022-07-26 23:09:08 | contains: true

2022-07-26 23:09:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-26 23:09:13 | [Mutex] waiting for: [user_regularuhyraw0203@test-domain.com:message:received:content_2l39iy0207]

2022-07-26 23:09:13 | [Mutex] waiting for: [user_regularuhyraw0203@test-domain.com:message:received:content_2l39iy0207]

2022-07-26 23:09:13 | [Mutex] received everything.

2022-07-26 23:09:13 | [Mutex] isItemNotified: user_regularuhyraw0203@test-domain.com:message:received:content_2l39iy0207 :: true

2022-07-26 23:09:13 |


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


2022-07-26 23:09:13 | [Mutex] received everything.

2022-07-26 23:09:13 | [Mutex] isItemNotified: node_cgsvgd0204:subscribe_node:success :: true

2022-07-26 23:09:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-26 23:09:13 | command: <data><node>node_cgsvgd0204</node><expire-at>2022-07-27T06:09:18Z</expire-at><entry><content>content_ysn9em0208</content></entry></data>

2022-07-26 23:09:13 | target: http://localhost:8088

2022-07-26 23:09:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-26 23:09:13 | entity: <data><node>node_cgsvgd0204</node><expire-at>2022-07-27T06:09:18Z</expire-at><entry><content>content_ysn9em0208</content></entry></data>

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

2022-07-26 23:09:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8395397-2d09-44d8-9bed-e32827c19415</value></item-id></result>

2022-07-26 23:09:13 | contains: true

2022-07-26 23:09:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-07-26 23:09:21 | [Mutex] waiting for: [user_regularuhyraw0203@test-domain.com:message:received:content_ysn9em0208]

2022-07-26 23:09:36 | [Mutex] timeout. Not received [user_regularuhyraw0203@test-domain.com:message:received:content_ysn9em0208]

2022-07-26 23:09:36 | [Mutex] received everything.

2022-07-26 23:09:36 | [Mutex] isItemNotified: user_regularuhyraw0203@test-domain.com:message:received:content_ysn9em0208 :: false

2022-07-26 23:09:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ysn9em0208 :: true