Generated by TestNG with ReportNG at 22:19 PDT on Tuesday 30 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.692s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.588s
2022-08-30 22:34:42 |

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

2022-08-30 22:34:42 | ------------------------------------

2022-08-30 22:34:42 | [Mutex] isItemNotified: node_ftc3xq0204:exists :: false

2022-08-30 22:34:42 | [Mutex] waiting for: [node_ftc3xq0204:create_node]

2022-08-30 22:34:42 | [Mutex] received everything.

2022-08-30 22:34:42 | [Mutex] isItemNotified: node_ftc3xq0204:create_node:success :: true

2022-08-30 22:34:42 | [Mutex] waiting for: [node_ftc3xq0204:subscribe_node]

2022-08-30 22:34:42 | [Mutex] received everything.

2022-08-30 22:34:42 | [Mutex] isItemNotified: node_ftc3xq0204:subscribe_node:success :: true

2022-08-30 22:34:42 |


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


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

2022-08-30 22:34:42 | command: <data><node>node_ftc3xq0204</node><entry><content>content_u79fsi0205</content></entry></data>

2022-08-30 22:34:42 | target: http://localhost:8088

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

2022-08-30 22:34:42 | entity: <data><node>node_ftc3xq0204</node><entry><content>content_u79fsi0205</content></entry></data>

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

2022-08-30 22:34:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1f0a9103-968a-4866-82a8-9b12a8ffb14a</value></item-id></result>

2022-08-30 22:34:42 | contains: true

2022-08-30 22:34:42 | [Mutex] received everything.

2022-08-30 22:34:42 | [Mutex] isItemNotified: user_regularoqslim0203@test-domain.com:message:received:content_u79fsi0205 :: true

2022-08-30 22:34:42 |


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


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

2022-08-30 22:34:42 | command: <data><node>node_ftc3xq0204</node><expire-at>2022-08-31T05:34:37Z</expire-at><entry><content>content_nm53jc0206</content></entry></data>

2022-08-30 22:34:42 | target: http://localhost:8088

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

2022-08-30 22:34:42 | entity: <data><node>node_ftc3xq0204</node><expire-at>2022-08-31T05:34:37Z</expire-at><entry><content>content_nm53jc0206</content></entry></data>

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

2022-08-30 22:34:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd58375d-d122-45af-834a-15348d928115</value></item-id></result>

2022-08-30 22:34:42 | contains: true

2022-08-30 22:34:42 | [Mutex] waiting for: [user_regularoqslim0203@test-domain.com:message:received:content_nm53jc0206]

2022-08-30 22:34:57 | [Mutex] timeout. Not received [user_regularoqslim0203@test-domain.com:message:received:content_nm53jc0206]

2022-08-30 22:34:57 | [Mutex] isItemNotified: user_regularoqslim0203@test-domain.com:message:received:content_nm53jc0206 :: false

2022-08-30 22:34:57 |


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


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

2022-08-30 22:34:57 | command: <data><node>node_ftc3xq0204</node><entry><content>content_kvvbr70207</content></entry></data>

2022-08-30 22:34:57 | target: http://localhost:8088

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

2022-08-30 22:34:57 | entity: <data><node>node_ftc3xq0204</node><entry><content>content_kvvbr70207</content></entry></data>

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

2022-08-30 22:34:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1cddd56-9465-4ba6-b202-a3c730b508bb</value></item-id></result>

2022-08-30 22:34:57 | contains: true

2022-08-30 22:35:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-30 22:35:02 | [Mutex] waiting for: [user_regularoqslim0203@test-domain.com:message:received:content_kvvbr70207]

2022-08-30 22:35:02 | [Mutex] received everything.

2022-08-30 22:35:02 | [Mutex] isItemNotified: user_regularoqslim0203@test-domain.com:message:received:content_kvvbr70207 :: true

2022-08-30 22:35:02 |


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


2022-08-30 22:35:02 | [Mutex] received everything.

2022-08-30 22:35:02 | [Mutex] isItemNotified: node_ftc3xq0204:subscribe_node:success :: true

2022-08-30 22:35:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-30 22:35:02 | command: <data><node>node_ftc3xq0204</node><expire-at>2022-08-31T05:35:07Z</expire-at><entry><content>content_snh7gf0208</content></entry></data>

2022-08-30 22:35:02 | target: http://localhost:8088

2022-08-30 22:35:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-30 22:35:02 | entity: <data><node>node_ftc3xq0204</node><expire-at>2022-08-31T05:35:07Z</expire-at><entry><content>content_snh7gf0208</content></entry></data>

2022-08-30 22:35:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 31 Aug 2022 05:35:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-30 22:35:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a4930b30-3b2b-41ee-83e6-2df3053d7829</value></item-id></result>

2022-08-30 22:35:02 | contains: true

2022-08-30 22:35:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-30 22:35:10 | [Mutex] waiting for: [user_regularoqslim0203@test-domain.com:message:received:content_snh7gf0208]

2022-08-30 22:35:10 | [Mutex] waiting for: [user_regularoqslim0203@test-domain.com:message:received:content_snh7gf0208]

2022-08-30 22:35:10 | [Mutex] waiting for: [user_regularoqslim0203@test-domain.com:message:received:content_snh7gf0208]

2022-08-30 22:35:25 | [Mutex] timeout. Not received [user_regularoqslim0203@test-domain.com:message:received:content_snh7gf0208]

2022-08-30 22:35:25 | [Mutex] received everything.

2022-08-30 22:35:25 | [Mutex] isItemNotified: user_regularoqslim0203@test-domain.com:message:received:content_snh7gf0208 :: false

2022-08-30 22:35:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_snh7gf0208 :: true