Generated by TestNG with ReportNG at 22:36 PDT on Sunday 08 May 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.683s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.655s
2022-05-08 22:50:53 |

2022-05-08 22:50:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-08 22:50:53 | ------------------------------------

2022-05-08 22:50:53 | [Mutex] isItemNotified: node_fn7fik0204:exists :: false

2022-05-08 22:50:53 | [Mutex] waiting for: [node_fn7fik0204:create_node]

2022-05-08 22:50:53 | [Mutex] received everything.

2022-05-08 22:50:53 | [Mutex] isItemNotified: node_fn7fik0204:create_node:success :: true

2022-05-08 22:50:53 | [Mutex] waiting for: [node_fn7fik0204:subscribe_node]

2022-05-08 22:50:53 | [Mutex] waiting for: [node_fn7fik0204:subscribe_node]

2022-05-08 22:50:53 | [Mutex] received everything.

2022-05-08 22:50:53 | [Mutex] isItemNotified: node_fn7fik0204:subscribe_node:success :: true

2022-05-08 22:50:53 |


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


2022-05-08 22:50:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 22:50:53 | command: <data><node>node_fn7fik0204</node><entry><content>content_x5deag0205</content></entry></data>

2022-05-08 22:50:53 | target: http://localhost:8088

2022-05-08 22:50:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-08 22:50:53 | entity: <data><node>node_fn7fik0204</node><entry><content>content_x5deag0205</content></entry></data>

2022-05-08 22:50:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:50:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 22:50:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>242c4ea3-d904-4942-a0db-c8284a06d554</value></item-id></result>

2022-05-08 22:50:53 | contains: true

2022-05-08 22:50:53 | [Mutex] received everything.

2022-05-08 22:50:53 | [Mutex] isItemNotified: user_regular3kldva0203@test-domain.com:message:received:content_x5deag0205 :: true

2022-05-08 22:50:53 |


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


2022-05-08 22:50:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 22:50:53 | command: <data><node>node_fn7fik0204</node><expire-at>2022-05-09T05:50:48Z</expire-at><entry><content>content_fzzva0206</content></entry></data>

2022-05-08 22:50:53 | target: http://localhost:8088

2022-05-08 22:50:53 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2022-05-08 22:50:53 | entity: <data><node>node_fn7fik0204</node><expire-at>2022-05-09T05:50:48Z</expire-at><entry><content>content_fzzva0206</content></entry></data>

2022-05-08 22:50:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:50:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 22:50:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97ee0b41-47f9-456b-9cad-671914538947</value></item-id></result>

2022-05-08 22:50:54 | contains: true

2022-05-08 22:50:54 | [Mutex] waiting for: [user_regular3kldva0203@test-domain.com:message:received:content_fzzva0206]

2022-05-08 22:51:09 | [Mutex] timeout. Not received [user_regular3kldva0203@test-domain.com:message:received:content_fzzva0206]

2022-05-08 22:51:09 | [Mutex] isItemNotified: user_regular3kldva0203@test-domain.com:message:received:content_fzzva0206 :: false

2022-05-08 22:51:09 |


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


2022-05-08 22:51:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-08 22:51:09 | command: <data><node>node_fn7fik0204</node><entry><content>content_qefea00207</content></entry></data>

2022-05-08 22:51:09 | target: http://localhost:8088

2022-05-08 22:51:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-08 22:51:09 | entity: <data><node>node_fn7fik0204</node><entry><content>content_qefea00207</content></entry></data>

2022-05-08 22:51:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:51:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 22:51:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d8947ddf-1d2a-4567-80fc-c911366cfd35</value></item-id></result>

2022-05-08 22:51:09 | contains: true

2022-05-08 22:51:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-08 22:51:14 | [Mutex] waiting for: [user_regular3kldva0203@test-domain.com:message:received:content_qefea00207]

2022-05-08 22:51:14 | [Mutex] received everything.

2022-05-08 22:51:14 | [Mutex] isItemNotified: user_regular3kldva0203@test-domain.com:message:received:content_qefea00207 :: true

2022-05-08 22:51:14 |


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


2022-05-08 22:51:14 | [Mutex] received everything.

2022-05-08 22:51:14 | [Mutex] isItemNotified: node_fn7fik0204:subscribe_node:success :: true

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

2022-05-08 22:51:14 | command: <data><node>node_fn7fik0204</node><expire-at>2022-05-09T05:51:19Z</expire-at><entry><content>content_ry1t1c0208</content></entry></data>

2022-05-08 22:51:14 | target: http://localhost:8088

2022-05-08 22:51:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-08 22:51:14 | entity: <data><node>node_fn7fik0204</node><expire-at>2022-05-09T05:51:19Z</expire-at><entry><content>content_ry1t1c0208</content></entry></data>

2022-05-08 22:51:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 09 May 2022 05:51:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-08 22:51:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c95e19b-8665-45a4-9609-847a27e92b42</value></item-id></result>

2022-05-08 22:51:14 | contains: true

2022-05-08 22:51:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-08 22:51:22 | [Mutex] waiting for: [user_regular3kldva0203@test-domain.com:message:received:content_ry1t1c0208]

2022-05-08 22:51:37 | [Mutex] timeout. Not received [user_regular3kldva0203@test-domain.com:message:received:content_ry1t1c0208]

2022-05-08 22:51:37 | [Mutex] received everything.

2022-05-08 22:51:37 | [Mutex] isItemNotified: user_regular3kldva0203@test-domain.com:message:received:content_ry1t1c0208 :: false

2022-05-08 22:51:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ry1t1c0208 :: true