Generated by TestNG with ReportNG at 22:19 PDT on Thursday 25 August 2022
root@ed1b7dd8a1b3 / 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 : 45.063s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.764s
2022-08-25 22:34:27 |

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

2022-08-25 22:34:27 | ------------------------------------

2022-08-25 22:34:27 | [Mutex] isItemNotified: node_xbh2t00204:exists :: false

2022-08-25 22:34:27 | [Mutex] waiting for: [node_xbh2t00204:create_node]

2022-08-25 22:34:27 | [Mutex] received everything.

2022-08-25 22:34:27 | [Mutex] isItemNotified: node_xbh2t00204:create_node:success :: true

2022-08-25 22:34:27 | [Mutex] waiting for: [node_xbh2t00204:subscribe_node]

2022-08-25 22:34:27 | [Mutex] received everything.

2022-08-25 22:34:27 | [Mutex] isItemNotified: node_xbh2t00204:subscribe_node:success :: true

2022-08-25 22:34:27 |


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


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

2022-08-25 22:34:27 | command: <data><node>node_xbh2t00204</node><entry><content>content_veio850205</content></entry></data>

2022-08-25 22:34:27 | target: http://localhost:8088

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

2022-08-25 22:34:27 | entity: <data><node>node_xbh2t00204</node><entry><content>content_veio850205</content></entry></data>

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

2022-08-25 22:34:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c97e0caf-5678-4e04-a680-7fe5524f69e6</value></item-id></result>

2022-08-25 22:34:27 | contains: true

2022-08-25 22:34:27 | [Mutex] received everything.

2022-08-25 22:34:27 | [Mutex] isItemNotified: user_regularfssn9x0203@test-domain.com:message:received:content_veio850205 :: true

2022-08-25 22:34:27 |


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


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

2022-08-25 22:34:27 | command: <data><node>node_xbh2t00204</node><expire-at>2022-08-26T05:34:22Z</expire-at><entry><content>content_ipbxub0206</content></entry></data>

2022-08-25 22:34:27 | target: http://localhost:8088

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

2022-08-25 22:34:27 | entity: <data><node>node_xbh2t00204</node><expire-at>2022-08-26T05:34:22Z</expire-at><entry><content>content_ipbxub0206</content></entry></data>

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

2022-08-25 22:34:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46c77775-ab36-4a05-ae1f-576e94fe6aa0</value></item-id></result>

2022-08-25 22:34:27 | contains: true

2022-08-25 22:34:27 | [Mutex] waiting for: [user_regularfssn9x0203@test-domain.com:message:received:content_ipbxub0206]

2022-08-25 22:34:42 | [Mutex] timeout. Not received [user_regularfssn9x0203@test-domain.com:message:received:content_ipbxub0206]

2022-08-25 22:34:42 | [Mutex] isItemNotified: user_regularfssn9x0203@test-domain.com:message:received:content_ipbxub0206 :: false

2022-08-25 22:34:42 |


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


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

2022-08-25 22:34:42 | command: <data><node>node_xbh2t00204</node><entry><content>content_7jb47s0207</content></entry></data>

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

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

2022-08-25 22:34:42 | entity: <data><node>node_xbh2t00204</node><entry><content>content_7jb47s0207</content></entry></data>

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

2022-08-25 22:34:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>031b5e28-626a-443f-ae6c-2b8b0e17b0b8</value></item-id></result>

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

2022-08-25 22:34:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-25 22:34:47 | [Mutex] waiting for: [user_regularfssn9x0203@test-domain.com:message:received:content_7jb47s0207]

2022-08-25 22:34:47 | [Mutex] waiting for: [user_regularfssn9x0203@test-domain.com:message:received:content_7jb47s0207]

2022-08-25 22:34:47 | [Mutex] received everything.

2022-08-25 22:34:47 | [Mutex] isItemNotified: user_regularfssn9x0203@test-domain.com:message:received:content_7jb47s0207 :: true

2022-08-25 22:34:47 |


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


2022-08-25 22:34:47 | [Mutex] received everything.

2022-08-25 22:34:47 | [Mutex] isItemNotified: node_xbh2t00204:subscribe_node:success :: true

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

2022-08-25 22:34:47 | command: <data><node>node_xbh2t00204</node><expire-at>2022-08-26T05:34:52Z</expire-at><entry><content>content_oqq5i50208</content></entry></data>

2022-08-25 22:34:47 | target: http://localhost:8088

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

2022-08-25 22:34:47 | entity: <data><node>node_xbh2t00204</node><expire-at>2022-08-26T05:34:52Z</expire-at><entry><content>content_oqq5i50208</content></entry></data>

2022-08-25 22:34:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 05:34:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-25 22:34:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9e5bbc86-b8ae-4f2b-a662-5427496dfe4f</value></item-id></result>

2022-08-25 22:34:47 | contains: true

2022-08-25 22:34:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-25 22:34:55 | [Mutex] waiting for: [user_regularfssn9x0203@test-domain.com:message:received:content_oqq5i50208]

2022-08-25 22:34:55 | [Mutex] waiting for: [user_regularfssn9x0203@test-domain.com:message:received:content_oqq5i50208]

2022-08-25 22:34:55 | [Mutex] waiting for: [user_regularfssn9x0203@test-domain.com:message:received:content_oqq5i50208]

2022-08-25 22:35:10 | [Mutex] timeout. Not received [user_regularfssn9x0203@test-domain.com:message:received:content_oqq5i50208]

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

2022-08-25 22:35:10 | [Mutex] isItemNotified: user_regularfssn9x0203@test-domain.com:message:received:content_oqq5i50208 :: false

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