${group.request ? html`
Timestamp: ${this.formatTimestamp(group.request.timestamp)}
${JSON.stringify(group.request.payload, null, 2)}
` : html`
No request data captured
`}
${group.response?.error ? html`
Error: ${group.response.error}
` : ''}
${group.response ? html`
Timestamp: ${this.formatTimestamp(group.response.timestamp)}
${group.response.durationMs !== undefined ? html` | Duration: ${this.formatDuration(group.response.durationMs)}` : ''}
${JSON.stringify(group.response.payload, null, 2)}
` : html`
No response yet (pending)
`}