Generated by TestNG with ReportNG at 22:25 PDT on Thursday 26 May 2022
root@61c39d2ed70d / 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 : 44.831s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.668s
2022-05-26 22:39:59 |

2022-05-26 22:39:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-26 22:39:59 | ------------------------------------

2022-05-26 22:39:59 | [Mutex] isItemNotified: node_niyshw0204:exists :: false

2022-05-26 22:39:59 | [Mutex] waiting for: [node_niyshw0204:create_node]

2022-05-26 22:39:59 | [Mutex] waiting for: [node_niyshw0204:create_node]

2022-05-26 22:39:59 | [Mutex] received everything.

2022-05-26 22:39:59 | [Mutex] isItemNotified: node_niyshw0204:create_node:success :: true

2022-05-26 22:39:59 | [Mutex] waiting for: [node_niyshw0204:subscribe_node]

2022-05-26 22:39:59 | [Mutex] waiting for: [node_niyshw0204:subscribe_node]

2022-05-26 22:39:59 | [Mutex] received everything.

2022-05-26 22:39:59 | [Mutex] isItemNotified: node_niyshw0204:subscribe_node:success :: true

2022-05-26 22:39:59 |


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


2022-05-26 22:39:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:39:59 | command: <data><node>node_niyshw0204</node><entry><content>content_lkpbha0205</content></entry></data>

2022-05-26 22:39:59 | target: http://localhost:8088

2022-05-26 22:39:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-26 22:39:59 | entity: <data><node>node_niyshw0204</node><entry><content>content_lkpbha0205</content></entry></data>

2022-05-26 22:39:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:39:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:39:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92b6e376-2b73-49b1-afb0-f31998a04700</value></item-id></result>

2022-05-26 22:39:59 | contains: true

2022-05-26 22:39:59 | [Mutex] waiting for: [user_regular1wck4e0203@test-domain.com:message:received:content_lkpbha0205]

2022-05-26 22:39:59 | [Mutex] received everything.

2022-05-26 22:39:59 | [Mutex] isItemNotified: user_regular1wck4e0203@test-domain.com:message:received:content_lkpbha0205 :: true

2022-05-26 22:39:59 |


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


2022-05-26 22:39:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:39:59 | command: <data><node>node_niyshw0204</node><expire-at>2022-05-27T05:39:54Z</expire-at><entry><content>content_dht5ma0206</content></entry></data>

2022-05-26 22:39:59 | target: http://localhost:8088

2022-05-26 22:39:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-26 22:39:59 | entity: <data><node>node_niyshw0204</node><expire-at>2022-05-27T05:39:54Z</expire-at><entry><content>content_dht5ma0206</content></entry></data>

2022-05-26 22:39:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:39:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:39:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d119f34a-2995-4d87-8498-dc079c8748e9</value></item-id></result>

2022-05-26 22:39:59 | contains: true

2022-05-26 22:39:59 | [Mutex] waiting for: [user_regular1wck4e0203@test-domain.com:message:received:content_dht5ma0206]

2022-05-26 22:40:14 | [Mutex] timeout. Not received [user_regular1wck4e0203@test-domain.com:message:received:content_dht5ma0206]

2022-05-26 22:40:14 | [Mutex] isItemNotified: user_regular1wck4e0203@test-domain.com:message:received:content_dht5ma0206 :: false

2022-05-26 22:40:14 |


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


2022-05-26 22:40:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:40:14 | command: <data><node>node_niyshw0204</node><entry><content>content_477mfa0207</content></entry></data>

2022-05-26 22:40:14 | target: http://localhost:8088

2022-05-26 22:40:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-26 22:40:14 | entity: <data><node>node_niyshw0204</node><entry><content>content_477mfa0207</content></entry></data>

2022-05-26 22:40:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:40:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:40:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>57a8e2b8-2f59-400d-84f2-6bf66779a877</value></item-id></result>

2022-05-26 22:40:14 | contains: true

2022-05-26 22:40:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-26 22:40:19 | [Mutex] waiting for: [user_regular1wck4e0203@test-domain.com:message:received:content_477mfa0207]

2022-05-26 22:40:19 | [Mutex] received everything.

2022-05-26 22:40:19 | [Mutex] isItemNotified: user_regular1wck4e0203@test-domain.com:message:received:content_477mfa0207 :: true

2022-05-26 22:40:19 |


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


2022-05-26 22:40:19 | [Mutex] received everything.

2022-05-26 22:40:19 | [Mutex] isItemNotified: node_niyshw0204:subscribe_node:success :: true

2022-05-26 22:40:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:40:19 | command: <data><node>node_niyshw0204</node><expire-at>2022-05-27T05:40:24Z</expire-at><entry><content>content_ckwivd0208</content></entry></data>

2022-05-26 22:40:19 | target: http://localhost:8088

2022-05-26 22:40:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-26 22:40:19 | entity: <data><node>node_niyshw0204</node><expire-at>2022-05-27T05:40:24Z</expire-at><entry><content>content_ckwivd0208</content></entry></data>

2022-05-26 22:40:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:40:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:40:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ad5e040b-5b87-46ac-98e9-d3f372782c16</value></item-id></result>

2022-05-26 22:40:19 | contains: true

2022-05-26 22:40:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-26 22:40:28 | [Mutex] waiting for: [user_regular1wck4e0203@test-domain.com:message:received:content_ckwivd0208]

2022-05-26 22:40:28 | [Mutex] waiting for: [user_regular1wck4e0203@test-domain.com:message:received:content_ckwivd0208]

2022-05-26 22:40:28 | [Mutex] waiting for: [user_regular1wck4e0203@test-domain.com:message:received:content_ckwivd0208]

2022-05-26 22:40:43 | [Mutex] timeout. Not received [user_regular1wck4e0203@test-domain.com:message:received:content_ckwivd0208]

2022-05-26 22:40:43 | [Mutex] received everything.

2022-05-26 22:40:43 | [Mutex] isItemNotified: user_regular1wck4e0203@test-domain.com:message:received:content_ckwivd0208 :: false

2022-05-26 22:40:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ckwivd0208 :: true