Generated by TestNG with ReportNG at 22:36 PDT on Monday 06 June 2022
root@1bc69cf4cb94 / 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.594s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.597s
2022-06-06 22:51:59 |

2022-06-06 22:51:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-06 22:51:59 | ------------------------------------

2022-06-06 22:51:59 | [Mutex] isItemNotified: node_u1dw770204:exists :: false

2022-06-06 22:51:59 | [Mutex] waiting for: [node_u1dw770204:create_node]

2022-06-06 22:51:59 | [Mutex] waiting for: [node_u1dw770204:create_node]

2022-06-06 22:51:59 | [Mutex] received everything.

2022-06-06 22:51:59 | [Mutex] isItemNotified: node_u1dw770204:create_node:success :: true

2022-06-06 22:51:59 | [Mutex] waiting for: [node_u1dw770204:subscribe_node]

2022-06-06 22:51:59 | [Mutex] received everything.

2022-06-06 22:51:59 | [Mutex] isItemNotified: node_u1dw770204:subscribe_node:success :: true

2022-06-06 22:51:59 |


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


2022-06-06 22:51:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:51:59 | command: <data><node>node_u1dw770204</node><entry><content>content_9xp61u0205</content></entry></data>

2022-06-06 22:51:59 | target: http://localhost:8088

2022-06-06 22:51:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-06 22:51:59 | entity: <data><node>node_u1dw770204</node><entry><content>content_9xp61u0205</content></entry></data>

2022-06-06 22:51:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:51:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:51:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ee07653c-662c-4448-aa6f-b45380c99c1c</value></item-id></result>

2022-06-06 22:51:59 | contains: true

2022-06-06 22:51:59 | [Mutex] waiting for: [user_regular5xa6sz0203@test-domain.com:message:received:content_9xp61u0205]

2022-06-06 22:51:59 | [Mutex] received everything.

2022-06-06 22:51:59 | [Mutex] isItemNotified: user_regular5xa6sz0203@test-domain.com:message:received:content_9xp61u0205 :: true

2022-06-06 22:51:59 |


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


2022-06-06 22:51:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:51:59 | command: <data><node>node_u1dw770204</node><expire-at>2022-06-07T05:51:54Z</expire-at><entry><content>content_qr3g520206</content></entry></data>

2022-06-06 22:51:59 | target: http://localhost:8088

2022-06-06 22:51:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-06 22:51:59 | entity: <data><node>node_u1dw770204</node><expire-at>2022-06-07T05:51:54Z</expire-at><entry><content>content_qr3g520206</content></entry></data>

2022-06-06 22:51:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:51:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:51:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>80e241de-f836-4df5-afef-1e9f9f6d0aa8</value></item-id></result>

2022-06-06 22:51:59 | contains: true

2022-06-06 22:51:59 | [Mutex] waiting for: [user_regular5xa6sz0203@test-domain.com:message:received:content_qr3g520206]

2022-06-06 22:52:14 | [Mutex] timeout. Not received [user_regular5xa6sz0203@test-domain.com:message:received:content_qr3g520206]

2022-06-06 22:52:14 | [Mutex] isItemNotified: user_regular5xa6sz0203@test-domain.com:message:received:content_qr3g520206 :: false

2022-06-06 22:52:14 |


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


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

2022-06-06 22:52:14 | command: <data><node>node_u1dw770204</node><entry><content>content_6c3aiq0207</content></entry></data>

2022-06-06 22:52:14 | target: http://localhost:8088

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

2022-06-06 22:52:14 | entity: <data><node>node_u1dw770204</node><entry><content>content_6c3aiq0207</content></entry></data>

2022-06-06 22:52:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:52:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:52:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4e8caf56-4801-4877-b692-825b111747b2</value></item-id></result>

2022-06-06 22:52:14 | contains: true

2022-06-06 22:52:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-06 22:52:19 | [Mutex] waiting for: [user_regular5xa6sz0203@test-domain.com:message:received:content_6c3aiq0207]

2022-06-06 22:52:19 | [Mutex] waiting for: [user_regular5xa6sz0203@test-domain.com:message:received:content_6c3aiq0207]

2022-06-06 22:52:19 | [Mutex] received everything.

2022-06-06 22:52:19 | [Mutex] isItemNotified: user_regular5xa6sz0203@test-domain.com:message:received:content_6c3aiq0207 :: true

2022-06-06 22:52:19 |


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


2022-06-06 22:52:19 | [Mutex] received everything.

2022-06-06 22:52:19 | [Mutex] isItemNotified: node_u1dw770204:subscribe_node:success :: true

2022-06-06 22:52:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-06 22:52:19 | command: <data><node>node_u1dw770204</node><expire-at>2022-06-07T05:52:24Z</expire-at><entry><content>content_fecwiw0208</content></entry></data>

2022-06-06 22:52:19 | target: http://localhost:8088

2022-06-06 22:52:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-06 22:52:19 | entity: <data><node>node_u1dw770204</node><expire-at>2022-06-07T05:52:24Z</expire-at><entry><content>content_fecwiw0208</content></entry></data>

2022-06-06 22:52:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Jun 2022 05:52:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-06 22:52:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4a05b6e9-0dad-4d3f-9f97-a3858f1a185f</value></item-id></result>

2022-06-06 22:52:19 | contains: true

2022-06-06 22:52:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-06 22:52:27 | [Mutex] waiting for: [user_regular5xa6sz0203@test-domain.com:message:received:content_fecwiw0208]

2022-06-06 22:52:27 | [Mutex] waiting for: [user_regular5xa6sz0203@test-domain.com:message:received:content_fecwiw0208]

2022-06-06 22:52:42 | [Mutex] timeout. Not received [user_regular5xa6sz0203@test-domain.com:message:received:content_fecwiw0208]

2022-06-06 22:52:42 | [Mutex] received everything.

2022-06-06 22:52:42 | [Mutex] isItemNotified: user_regular5xa6sz0203@test-domain.com:message:received:content_fecwiw0208 :: false

2022-06-06 22:52:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fecwiw0208 :: true